B2B Saas Authentication

/

API reference

/

Single sign-on (SS0)

/

OIDC Connection object

OIDC Connection object


Fields


organization_idstring

connection_idstring

display_namestring

redirect_urlstring

statusstring

issuerstring

client_idstring

client_secretstring

authorization_urlstring

token_urlstring

userinfo_urlstring

jwks_urlstring

identity_providerstring

custom_scopesstring

attribute_mappingobject

OBJECT

{
  "connection": {
    "organization_id": "organization-test-07971b06-ac8b-4cdb-9c15-63b17e653931",
    "connection_id": "oidc-connection-test-b6c714c2-7413-4b92-a0f1-97aa1085aeff",
    "display_name": "Example OIDC Connection",
    "redirect_url": "https://test.stytch.com/v1/b2b/sso/callback/oidc-connection-test-b6c714c2-7413-4b92-a0f1-97aa1085aeff",
    "status": "active",
    "issuer": "https://idp.example.com/",
    "client_id": "s6BhdRkqt3",
    "client_secret": "SeiGwdj5lKkrEVgcEY3QNJXt6srxS3IK2Nwkar6mXD4=",
    "authorization_url": "https://idp.example.com/authorize",
    "token_url": "https://idp.example.com/oauth2/token",
    "userinfo_url": "https://idp.example.com/userinfo",
    "jwks_url": "https://idp.example.com/oauth2/jwks",
    "identity_provider": "generic",
  }
}