Update a profile
Replaces an existing authentication profile. The entire profile object is overwritten with the request body.
Authorizations
Must equal the Secret value in tib.conf.
Example: Authorization: your-tib-secret
Path Parameters
The unique identifier of the authentication profile.
Body
Unique identifier for this profile. Must match the {id} path parameter
when creating or updating.
"github-sso-dashboard"
Determines what TIB does with the confirmed identity.
GenerateOrLoginDeveloperProfile– create/log in a Tyk Developer Portal API ConsumerGenerateOrLoginUserProfile– create/log in a Tyk Dashboard user or Tyk Developer Portal API OwnerGenerateOAuthTokenForClient– generate an OAuth token for an API client (also used for the OAuth password flow)GenerateTemporaryAuthToken– generate a short-lived Tyk access token
GenerateOrLoginDeveloperProfile, GenerateOrLoginUserProfile, GenerateOAuthTokenForClient, GenerateTemporaryAuthToken redirect– the user is redirected to an external IdP (OAuth, SAML)passthrough– credentials are validated inline without a redirect (LDAP, Proxy)
redirect, passthrough Identifier for the concrete provider implementation.
SocialProvider, ADProvider, SAMLProvider, ProxyProvider Human-readable display name for this profile.
"GitHub SSO - Dashboard Login"
Tyk organisation ID this profile belongs to.
"5e9d9544a1dcd60001d0ed20"
Tyk policy ID to attach to tokens or sessions generated by this profile.
"5f8f9e3c1b5e4a0001b3c4d5"
Override the claim/attribute used to extract the user's email address. Leave empty to use the provider default.
"email"
Override the claim/attribute used to extract the user's unique identifier.
"sub"
Provider-specific configuration object. The shape depends on ProviderName:
SocialProvider→ seeGothConfigschemaADProvider→ seeADConfigschemaSAMLProvider→ seeSAMLConfigschemaProxyProvider→ seeProxyConfigschema
Additional key/value settings passed to the identity handler (e.g. OAuth client credentials, token TTL).
{
"oauth-client-id": "tyk-portal-client",
"oauth-client-secret": "s3cr3t",
"oauth-client-base-url": "http://gateway:8080"
}Optional constraints that restrict which users may authenticate via this profile.
URL the user is redirected to after successful authentication.
"https://dashboard.example.com/tap"
Tyk user-group ID assigned to users that do not match any entry in
UserGroupMapping.
"5f8f9e3c1b5e4a0001b3c4d6"
Claim/attribute name that carries the user's group membership.
"groups"
Maps IdP group names to Tyk user-group IDs.
{
"admins": "5f8f9e3c1b5e4a0001b3c4d7",
"developers": "5f8f9e3c1b5e4a0001b3c4d8"
}Separator used when a single claim contains multiple group values
(e.g. "," or " ").
","
When true, only pre-existing Tyk users may log in via SSO.
New users will be rejected rather than auto-created.
false