Skip to content

Commit 90b4562

Browse files
committed
Update OIDC response_type to use authorization code flow
This enables PKCE. The implicit flow is often deprecated bhy auth providers
1 parent 60598e9 commit 90b4562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/OidcConfiguration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const baseUrl = window.location.protocol + "//" + window.location.host
22
const initData = {
33
client_id: "ringfs",
44
redirect_uri: baseUrl + "/authentication/callback",
5-
response_type: "id_token token",
5+
response_type: "code",
66
scope: "openid profile email offline_access opensvc:om2 opensvc:om2:root opensvc:om2:guest grant",
77
silent_redirect_uri: baseUrl + "/authentication/silent_callback",
88
automaticSilentRenew: true,

0 commit comments

Comments
 (0)