Skip to main content

AUTH.REFRESH_TOKEN

POST 

To update the refresh token and get a new one to use

Request

Body

    action stringrequired

    Default value: auth.refresh_token

    The action

    refresh_token stringrequired

    The refresh token

    id_token stringrequired

    JWT ID Token

Responses

Auth JWT Token response

Schema
    data object
    id_token string

    The JWT ID Token

    refresh_token string

    The refresh token to be kept private

    token_type string

    The token type, set to be bearer

    token_info object

    Token info

    ttl integer

    The JWT time to live (ttl) from the issued at time (iat)

    exp integer

    The JWT expire time

    iat integer

    The JWT issued at time

    aud string

    The audience

    _userkey string

    The user key

    project_id string

    The Project ID

    user_profile object

    The user profile

    _userkey string

    The user's Key

    email string

    The user's email

    email_verified boolean

    Boolean indicating email is verified

    display_name string

    The full display name

    photo_url string

    The photo URL

    username string

    The username

    aud string

    The 'aud' associated to this authentication

    roles string[]

    Array of roles for this authentication

    auth_types string[]

    Array of auth_types for this authentication

Loading...