...
Value | Description | Example |
---|---|---|
grant_type | This is the grant type this will be client_credentials | client_credentials |
client_id | This will be the client id that was given t | 7n5557odetpntgerr4gcdbh17h7n5557odet*****4gcdbh17h |
scope | This is the scope(s) that will be passed in to gain access to the api’s | cie.directory/read |
...
Code Block |
---|
--data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'client_id=7n5557odetpntgerr4gcdbh17h7n5557odet*****4gcdbh17h' \ --data-urlencode 'scope=cie.directory/read' |
...
HTTP Status Code | Description | Response Example | ||
---|---|---|---|---|
200 | Successful access token is being returned.
|
|
...
Code Block |
---|
curl --location --request POST 'https://login-dev.mi-cie.org/oauth2/token' \ --header 'Authorization: Basic Nm01N*******OWkzMHJ1Y3FyNWVvcGR1Z2YwaGduMXNn' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'client_id=7nm5557odetpntgerr4gcdbh17h7n5557odet*****4gcdbh17h' \ --data-urlencode 'scope=cie.directory/read' |
...