provider Connected Apps POST /v1/connected_apps/clients
@utdk/stytch /v1/connected_apps/clients
Create
Creates a new Connected App. If the Connected App `client_type` is `first_party` or `third_party` a `client_secret` is returned. **Important:** This is the only time you will be able to view the generated `client_secret` in the API response. Stytch stores a hash of the `client_secret` and cannot recover the value if lost. Be sure to persist the `client_secret` in a secure location. If the `client_secret` is lost, you will need to trigger a secret rotation flow to receive another one.

Try it

Authentication
Configure credentials for Stytch API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

apiConnectedappsV1ConnectedAppsClientsCreate
POST/v1/connected_apps/clients
Creates a new Connected App. If the Connected App `client_type` is `first_party` or `third_party` a `client_secret` is returned. **Important:** This is the only time you will be able to view the generated `client_secret` in the API response. Stytch stores a hash of the `client_secret` and cannot recover the value if lost. Be sure to persist the `client_secret` in a secure location. If the `client_secret` is lost, you will need to trigger a secret rotation flow to receive another one.

Input

required

A human-readable name for the client.

A human-readable description for the client.

Array of redirect URI values for use in OAuth Authorization flows.

Valid for first party clients only. If `true`, an authorization token granted to this Client can be exchanged for a full Stytch session.

The number of minutes before the access token expires. The default is 60 minutes.

The custom audience for the access token.

The content of the access token custom claims template. The template must be a valid JSON object.

Array of redirect URI values for use in OIDC Logout flows.

The logo URL of the Connected App, if any.

Valid for first party clients only. If true, the client does not need to request explicit user consent for the `offline_access` scope.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stytch from '@utdk/stytch';

await stytch.apiConnectedappsV1ConnectedAppsClientsCreate()