Embed SDK Authentication
{
// to get from admin inteface
"iss": "ISS"
// to get from admin interface
"aud": "OAUTH_URL/TENAN_ID/oauth/oauth-token",
// when you want the token to expire, in seconds since 1970-01-01
"exp": 0,
"sub": "toucan-embed-client",
"embed_context": {
"username": "SDK_TOKEN",
// to get from admin interface
"workspace_id": "WORKSPACE_ID"
"roles": ["ADMIN"],
// ADMIN role grant access to all apps
"privileges": {},
"groups": [],
"attributes": {}
}
}Last updated
Was this helpful?