Skip to content

Commit 7fb2bad

Browse files
author
Daenges
committed
Remove client_secret from token request
1 parent 35f7023 commit 7fb2bad

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

realms/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
|Key|Value|
1515
|:-:|:-:|
1616
|client_id|sb-backend|
17-
|client_secret|Keycloak → Clients → sb-backend → Credentials|
1817
|grant_type|password|
1918
|username|User created above|
2019
|password|Password of user created above|

realms/sb-backend.json

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -477,24 +477,6 @@
477477
"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": false,
478478
"webAuthnPolicyPasswordlessAcceptableAaguids": [],
479479
"webAuthnPolicyPasswordlessExtraOrigins": [],
480-
"users": [
481-
{
482-
"id": "e2f1cc15-fbdd-47a2-9150-f62ef4b7e7a4",
483-
"username": "service-account-sb-backend",
484-
"emailVerified": false,
485-
"createdTimestamp": 1741450579853,
486-
"enabled": true,
487-
"totp": false,
488-
"serviceAccountClientId": "sb-backend",
489-
"disableableCredentialTypes": [],
490-
"requiredActions": [],
491-
"realmRoles": [
492-
"default-roles-study-buddies"
493-
],
494-
"notBefore": 0,
495-
"groups": []
496-
}
497-
],
498480
"scopeMappings": [
499481
{
500482
"clientScope": "offline_access",
@@ -762,7 +744,6 @@
762744
"enabled": true,
763745
"alwaysDisplayInConsole": false,
764746
"clientAuthenticatorType": "client-secret",
765-
"secret": "**********",
766747
"redirectUris": [
767748
"http://localhost:8080/*"
768749
],
@@ -772,11 +753,11 @@
772753
"notBefore": 0,
773754
"bearerOnly": false,
774755
"consentRequired": false,
775-
"standardFlowEnabled": false,
756+
"standardFlowEnabled": true,
776757
"implicitFlowEnabled": false,
777758
"directAccessGrantsEnabled": true,
778-
"serviceAccountsEnabled": true,
779-
"publicClient": false,
759+
"serviceAccountsEnabled": false,
760+
"publicClient": true,
780761
"frontchannelLogout": true,
781762
"protocol": "openid-connect",
782763
"attributes": {
@@ -796,13 +777,13 @@
796777
"require.pushed.authorization.requests": "false",
797778
"acr.loa.map": "{}",
798779
"display.on.consent.screen": "false",
780+
"pkce.code.challenge.method": "S256",
799781
"token.response.type.bearer.lower-case": "false"
800782
},
801783
"authenticationFlowBindingOverrides": {},
802784
"fullScopeAllowed": true,
803785
"nodeReRegistrationTimeout": -1,
804786
"defaultClientScopes": [
805-
"service_account",
806787
"web-origins",
807788
"acr",
808789
"roles",

0 commit comments

Comments
 (0)