Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove testuser from Keycloak playground realm #4985

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions playground/keycloak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ To try out the playground:
1. Run the application from the `Keycloak.AppHost` project dir
2. From your Aspire dashboard, browse to the webfrontend endpoint
3. Click **Login**
4. Use the following credentials:
- **Username**: `testuser`
- **Password**: `123`
4. On the Keycloak sign in page, click **Register**
5. Enter any values for username, password, etc, and click **Register**
6. You will be redirected back to the web frontend
7. You'll notice that you are now logged in and the weather data loads successfully
28 changes: 2 additions & 26 deletions playground/keycloak/realms/weathershop-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -378,30 +378,6 @@
"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister" : false,
"webAuthnPolicyPasswordlessAcceptableAaguids" : [ ],
"webAuthnPolicyPasswordlessExtraOrigins" : [ ],
"users" : [ {
"id" : "8e6aa491-29b4-4701-ac20-a6f0b72ebf2c",
"username" : "testuser",
"firstName" : "Test",
"lastName" : "User",
"email" : "testuser@example.com",
"emailVerified" : true,
"createdTimestamp" : 1719876361930,
"enabled" : true,
"totp" : false,
"credentials" : [ {
"id" : "662acb61-35aa-4550-aa3d-1b91d548379b",
"type" : "password",
"userLabel" : "My password",
"createdDate" : 1719876373873,
"secretData" : "{\"value\":\"4DfZJfojd4Ef08uoboJ2V+RMpF20yGEbw2pDouefjmcTmAVxE6wPkbLN03u/bAElCm4Y/ndJ9YruH3Q5pFuSLQ==\",\"salt\":\"E8I7GRLxZI2lzpKCI6h/bw==\",\"additionalParameters\":{}}",
"credentialData" : "{\"hashIterations\":210000,\"algorithm\":\"pbkdf2-sha512\",\"additionalParameters\":{}}"
} ],
"disableableCredentialTypes" : [ ],
"requiredActions" : [ ],
"realmRoles" : [ "default-roles-weathershop" ],
"notBefore" : 0,
"groups" : [ ]
} ],
"scopeMappings" : [ {
"clientScope" : "offline_access",
"roles" : [ "offline_access" ]
Expand Down Expand Up @@ -1298,7 +1274,7 @@
"subType" : "authenticated",
"subComponents" : { },
"config" : {
"allowed-protocol-mapper-types" : [ "saml-user-attribute-mapper", "saml-user-property-mapper", "oidc-usermodel-attribute-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-usermodel-property-mapper", "oidc-full-name-mapper", "oidc-address-mapper", "saml-role-list-mapper" ]
"allowed-protocol-mapper-types" : [ "oidc-usermodel-attribute-mapper", "oidc-address-mapper", "saml-role-list-mapper", "saml-user-property-mapper", "saml-user-attribute-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-full-name-mapper", "oidc-usermodel-property-mapper" ]
}
}, {
"id" : "241c5dea-68b9-4684-a816-80b08ef86bff",
Expand All @@ -1314,7 +1290,7 @@
"subType" : "anonymous",
"subComponents" : { },
"config" : {
"allowed-protocol-mapper-types" : [ "saml-user-property-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-full-name-mapper", "oidc-usermodel-attribute-mapper", "oidc-address-mapper", "saml-user-attribute-mapper", "saml-role-list-mapper", "oidc-usermodel-property-mapper" ]
"allowed-protocol-mapper-types" : [ "saml-user-property-mapper", "oidc-usermodel-attribute-mapper", "saml-user-attribute-mapper", "oidc-address-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-usermodel-property-mapper", "saml-role-list-mapper", "oidc-full-name-mapper" ]
}
}, {
"id" : "730409bc-ce7e-4b64-a870-946aeba9f65b",
Expand Down