Authentication

Authentication related operations

get

Initiate OAuth

Authorizations
AuthorizationstringRequired

A registered Nexus211 app can use Basic Auth method to authenticate itself. The username is the app's Client ID and the password is Client Secret.

Query parameters
applicationstringOptional

Application's Client ID that can be found in Nexus211 ID portal.

statestringOptional

OAuth state. See the Nexus211 authentication document for details.

redirectstringOptional

The callback endpoint on the application which the Nexus211 will redirect to after user has authenticated.

Responses
get
/oauth/authorize
302

Redirects to Nexus ID application.

No content

post

Get access token

Authorizations
Body
codestringOptional

Authorization code received at the application callback.

Responses
chevron-right
200

OK

application/json
post
/oauth/access-token
200

OK

post

Generate service account token using application credentials

Authorizations
Body
profilestringOptional

HashID of the service account profile to authenticate as

Responses
chevron-right
200

OK

application/json
post
/oauth/service-account-token
200

OK

post

Revoke currently authenticated access token.

Authorizations
AuthorizationstringRequired

A registered Nexus211 app can use Basic Auth method to authenticate itself. The username is the app's Client ID and the password is Client Secret.

Responses
post
/oauth/revoke

No content

Last updated