Authentication Bridge

This page describes how the authentication bridge can be used. This allows you to swap an Identity Provider Token (IDP) for a Venly authentication token.

Exchange token

POST https://connect.arkane.network/auth/exchange

This endpoint allows you to exchange authentication tokens

Headers

NameTypeDescription

content-type

string

application/json

Request Body

NameTypeDescription

clientId

string

The client id for which you want a token (Ex. Arketype)

identityProvider

object

Which IdentityProvider to use

idpToken

string

The token of the external IDP

{
    "access_token": "<generated_access_token>",
    "expires_in": 1800,
    "refresh_expires_in": 3456000,
    "refresh_token": "<generated_refresh_token>",
    "token_type": "bearer",
    "not-before-policy": 1572970662,
    "session_state": "ed089e20-43ff-4990-812e-74fb2b897403",
    "scope": "view:wallets sign:wallets view:profile email profile"
}
{
    "clientId": "Arketype",
    "identityProvider": "FACEBOOK",
    "idpToken": "<facebook_access_token"
}

Last updated