Skip to content

Commit a3b8b36

Browse files
authored
Merge pull request auth0#8899 from erjohnson/api-auth-ldap-update
Add scopes request param
2 parents d6ccab3 + 6bfc3bc commit a3b8b36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/api/authentication/_login.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ GET https://${account.namespace}/authorize?
9898
client_id=${account.clientId}&
9999
connection=CONNECTION&
100100
redirect_uri=${account.callback}&
101+
scope=openid%20profile%20email&
101102
state=STATE
102103
```
103104

@@ -116,6 +117,7 @@ GET https://${account.namespace}/authorize?
116117
clientID: '${account.clientId}', // string
117118
responseType: 'token', // code or token
118119
redirectUri: '${account.callback}',
120+
scope: 'openid profile email'
119121
state: 'YOUR_STATE'
120122
});
121123

@@ -141,6 +143,7 @@ Use this endpoint for browser based (passive) authentication. It returns a `302`
141143
| `client_id` <br/><span class="label label-danger">Required</span> | The `client_id` of your application. |
142144
| `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. |
143145
| `redirect_uri` <br/><span class="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`. |
144147
| `state` <br/><span class="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. |
145148

146149

0 commit comments

Comments
 (0)