|
18 | 18 | ``` |
19 | 19 |
|
20 | 20 | + **Specify OAuth2 Provider ClientId's and ClientSecrets** |
| 21 | + |
| 22 | + > This is optional if you're testing the app in localhost. A demo clientId and clientSecret is already specified. |
21 | 23 |
|
22 | 24 | ```yml |
23 | 25 | security: |
|
52 | 54 | userInfoUri: https://graph.facebook.com/v3.0/me?fields=id,first_name,middle_name,last_name,name,email,verified,is_verified,picture |
53 | 55 | ``` |
54 | 56 |
|
55 | | - *Please make sure that `http://localhost:8080/oauth3/callback/<provider>`* is added as an authorized redirect uri in the OAuth2 provider. For example, In your [Google API console](https://console.developers.google.com/projectselector/apis/credentials?pli=1), make sure that `http://localhost:8080/oauth2/callback/google` is added in the **Authorized redirect URIs** |
| 57 | + *Please make sure that `http://localhost:8080/oauth2/callback/<provider>`* is added as an authorized redirect uri in the OAuth2 provider. For example, In your [Google API console](https://console.developers.google.com/projectselector/apis/credentials?pli=1), make sure that `http://localhost:8080/oauth2/callback/google` is added in the **Authorized redirect URIs** |
56 | 58 |
|
57 | 59 | *Also, make sure that the above mentioned scopes are added in the OAuth2 provider console.* For example, scope `email` and `profile` should be added in your Google project's OAuth2 consent screen. |
58 | 60 |
|
|
0 commit comments