mirror of
https://github.com/LukeHagar/clerk-sdk-java.git
synced 2025-12-06 12:27:45 +00:00
7.8 KiB
7.8 KiB
CreateOAuthApplicationRequestBody
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name |
String | ✔️ | The name of the new OAuth application | |
callbackUrl |
String | ✔️ | The callback URL of the new OAuth application | |
scopes |
Optional<? extends String> | ➖ | Define the allowed scopes for the new OAuth applications that dictate the user payload of the OAuth user info endpoint. Available scopes are profile, email, public_metadata, private_metadata. Provide the requested scopes as a string, separated by spaces. |
profile email public_metadata |
public_ |
Optional<? extends Boolean> | ➖ | If true, this client is public and cannot securely store a client secret. Only the authorization code flow with proof key for code exchange (PKCE) may be used. Public clients cannot be updated to be confidential clients, and vice versa. |