Documentation Index
Fetch the complete documentation index at: https://turnkey-0e7c1f5b-ethan-captcha-protection.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key
WebAuthn (Passkey)
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here.
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here.
Body
Unique identifier for a given organization.
Unique identifier for a given user.
Response
A successful response returns the following fields:
A list of Oauth providers.Show oauthProviders details
oauthProviders.providerId
Unique identifier for an OAuth Provider
oauthProviders.providerName
Human-readable name to identify a Provider.
Expected audience (‘aud’ attribute of the signed token) which represents the app ID
Expected subject (‘sub’ attribute of the signed token) which represents the user ID
createdAt field
oauthProviders.createdAt.seconds
oauthProviders.createdAt.nanos
updatedAt field
oauthProviders.updatedAt.seconds
oauthProviders.updatedAt.nanos
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_oauth_providers \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"organizationId": "<string>",
"userId": "<string>"
}'
{
"oauthProviders": [
{
"providerId": "<string>",
"providerName": "<string>",
"issuer": "<string>",
"audience": "<string>",
"subject": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
}
}
]
}