Authentication, Magic Link and Google Auth
The Nzoni boilerplate comes with built-in support for popular sign-in services. With just a few updates to environment variables
Here's the look of the auth components folder
├── node_modules
├── src
│ ├── app
│ │ ├── authentification
│ │ │ ├── login
│ │ │ ├── signup
│ │ │ ├── magic-link # Magic link redirection
│ │ │ ├── reset # Resetting password
Configure Google OAuth
To configure Google Auth, first get Google Client ID, you can follow how to get it here. Edit google_client_id environment variable in src/environments/environment.prod.ts and src/environments/environment.ts
export const environment = {
...
google_client_id: ""
}
Ensure that you publish your App in Google Cloud before deploying to production.
Last updated