Skip to main content

The OAuth 2.0 Token Endpoint

Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/

Request Body
    client_id string
    code string
    grant_type string required

    Possible values: [authorization_code, refresh_token]

    redirect_uri string
    refresh_token string
Responses

oAuth2TokenExchange


Schema
    access_token string

    The access token issued by the authorization server.

    expires_in int64

    The lifetime in seconds of the access token. For example, the value "3600" denotes that the access token will expire in one hour from the time the response was generated.

    id_token int64

    To retrieve a refresh token request the id_token scope.

    refresh_token string

    The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope "offline" to your access token request.

    scope string

    The scope of the access token

    token_type string

    The type of the token issued

Loading...