How to Authorize an API
Upon successful client login, the authorize API will redirect with HTTP 302 to the redirect_url provided and set the state and access code in URL parameters.
Request Parameters
Parameter |
Description |
Required |
Data Type |
Default Value |
---|---|---|---|---|
client_id |
Consumer key for your application. This is provided by SEI upon account creation. |
Yes |
String |
|
state |
A UUID generated by the client application and sent back by the OAuth provider. The client application should validate that the same state was received back. |
No |
String |
|
scope |
Used to further limit the access granted to the OAuth token. Only scope = ilservices is currently supported. |
No |
String |
ilservices |
endOtherSessions |
Used to end any other SEI Platform sessions the user may have started. This parameter can be used to override the “concurrent user” setting that allows users to maintain multiple sessions. |
No |
Boolean |
False |