I am trying to create an SSO integration using the /api/v1/apps api endpont to create apps. I can not find any documentation on how to set the flow to PKCE Authorization Code through the api, pls help
You’ll need to do three things when creating the OIDC app
- set the “token_endpoint_auth_method” to “none” (so that PKCE auth is used)
- set “application_type” to “browser” to make a SPA type app (or ‘native’, if making a Native app)
- set “response_types” to “code”
Example request body that should work:
{
"name": "oidc_client",
"label": "Sample PKCE App",
"signOnMode": "OPENID_CONNECT",
"credentials": {
"oauthClient": {
"token_endpoint_auth_method": "none"
}
},
"settings": {
"oauthClient": {
"redirect_uris": [
"http://localhost:8080/login/callback"
],
"response_types": [
"code"
],
"grant_types": [
"authorization_code"
],
"application_type": "browser"
}
}
}
1 Like
Thanks for the super quick reply, It worked thanks
1 Like
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.