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"
}
}
}