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
Copy file name to clipboardExpand all lines: articles/api/authentication/_login.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,7 @@ GET https://${account.namespace}/authorize?
98
98
client_id=${account.clientId}&
99
99
connection=CONNECTION&
100
100
redirect_uri=${account.callback}&
101
+
scope=openid%20profile%20email&
101
102
state=STATE
102
103
```
103
104
@@ -116,6 +117,7 @@ GET https://${account.namespace}/authorize?
116
117
clientID:'${account.clientId}', // string
117
118
responseType:'token', // code or token
118
119
redirectUri:'${account.callback}',
120
+
scope:'openid profile email'
119
121
state:'YOUR_STATE'
120
122
});
121
123
@@ -141,6 +143,7 @@ Use this endpoint for browser based (passive) authentication. It returns a `302`
141
143
|`client_id` <br/><spanclass="label label-danger">Required</span> | The `client_id` of your application. |
142
144
|`connection`| The name of the connection configured to your application. If null, it will redirect to the [Auth0 Login Page](https://${account.namespace}/login) and show the Login Widget using the first database connection. |
143
145
|`redirect_uri` <br/><spanclass="label label-danger">Required</span> | The URL to which Auth0 will redirect the browser after authorization has been granted by the user. |
146
+
|`scope`| OIDC scopes and custom API scopes. For example: `openid read:timesheets`. |
144
147
|`state` <br/><spanclass="label label-primary">Recommended</span> | An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the application. This value must be used by the application to prevent CSRF attacks. |
0 commit comments