Skip to main content

Resource Owner Password Credential [Server-to-Server]

POST 

/api/oidc/:OIDCAppName/token

This is the Rest API that is called from the Server to Server. In this flow, we need to provide the user credentials (Email/Phone/Username and Password) with the scope of the access token in the response it will return the access_token, refresh_token, id_token, and token properties like token_type and expire_in. As the OpenId connect is build upon the Oauth 2.0, so Any flow supported by the OAuth 2.0, is also Supported by the OpenId Connect, So we can leverage Resource Owner Password Credential flow in the OIDC as well.

Request

Successful response