Hi Reno Welleman,
Thank you for reaching out to Microsoft Q & A forum.
It seems the issue stems from using the localhost URL in the email confirmation link when working within GitHub Codespaces. The URL generated in the console (https://localhost:7192) is tied to your local environment and cannot be directly accessed externally or from the browser.
To resolve this, you'll need to modify the generated link to use the appropriate forwarded URL for your Codespaces environment. Here’s what you can do:
1.Identify Your Codespaces URL
In GitHub Codespaces, the application is usually forwarded through a URL in the format:
https://<codespace-name>-7192.preview.app.github.dev.
Replace <codespace-name> with the specific identifier for your Codespace.
2.Update the Confirmation URL
When you see the confirmation email content in the console, copy the generated URL.
Replace https://localhost:7192 with your Codespace's forwarded URL (e.g., https://scaling-potato-5gr4j4-7192.preview.app.github.dev).
3.Test the Confirmation Link
Open the modified URL in your browser to complete the confirmation process.
Alternatively, if you'd like to avoid manual editing, you can configure the ApplicationUrl in your ASP.NET Core app's launchSettings.json to use the forwarded Codespaces URL. This will generate the correct links automatically.
Please feel free to contact us if you have any additional questions.
If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.