Ok this is the last repo updated https://gitlab.com/ferreiraf/317tz.git
And the netlify project https://affectionate-euler-ff5a74.netlify.app
So now i have the widget code in my admin page.
I delete this wigdet from my home page (includes/layouts/default.njk).
In default.njk just remains this netlify script in the body: <script> if (window.netlifyIdentity) { window.netlifyIdentity.on("init", user => { if (!user) { window.netlifyIdentity.on("login", () => { document.location.href = "/admin/"; }); } }); } </script>
And for now the result is the same since this morning,
i receive the - Follow this link to reset the password for your user - message
i click the link
My home page appear, and, at the end of the url the recovery token: https://affectionate-euler-ff5a74.netlify.app/#recovery_token=0d-zbS7Ik65jWILt56vcTA
Yep, there’s still no identity widget found. I’m trying to find a .njk file in your repo that acts like a head with all the global scripts for your site in it. Could you name a file that is global?
I would suggest putting it above the other scripts because sometimes that can cause an issue. You shouldn’t need {# include netlify identity script #} since I too use Eleventy and I’ve never seen a declaration of a script like this before.