You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://vercel.com/codingcoach?utm_source=coding-coach&utm_campaign=oss)
10
-
11
-
12
9
## Support Us
13
10
14
11
CodingCoach is a FREE platform that is built and managed entirely by volunteers. As always, there are ongoing costs to run this site such as servers, domains, email, and more. Please consider becoming a patron so we can continue our mission of being accessible and free ❤️
We're using Auth0 to handle authentication in our application. This document outlines the authentication flow and how to set up your environment for development.
4
+
5
+
## Registration
6
+
7
+
1. User clicks on the "Sign Up" button.
8
+
2. User is redirected to the Auth0 login page.
9
+
3. User enters their email and password.
10
+
4. Auth0 sends a verification email, which we leverage for the welcome email.
11
+
5. User clicks on the verification link in the email.
12
+
6. User is redirected to the application with a verification token. For more information about the redirection see the [docs](https://auth0.com/docs/customize/email/email-templates#configure-template-fields) - open the "Redirect the URL" section.
13
+
> **ℹ️ Info**
14
+
> Remember. The application.callback_domain variable will contain the origin of the first URL listed in the application's Allowed Callback URL list
15
+
16
+
## Authentication
17
+
18
+
1. User clicks on the "Log In" button.
19
+
2. User is redirected to the Auth0 login page.
20
+
3. User enters their email and password.
21
+
4. Auth0 verifies the credentials and redirects the user back to the application with an access token which includes auth0id and an `email_verified` and `picture` added by a [custom action](https://manage.auth0.com/dashboard/eu/codingcoach/actions/library/details/e425e5f6-fcd0-4ec9-a3b5-68b3ef8eca75). `email_verified` is enabled by the `email` scope and `picture` is enabled by the `profile` scope.
0 commit comments