# Securing applications

**URL:** https://forum.keycloak.org/c/securing-applications/5.md?page=1

[Latest](https://forum.keycloak.org/latest.md) · [Categories](https://forum.keycloak.org/categories.md) · [Tags](https://forum.keycloak.org/tags.md)

**Page:** 2

---

## [Spring Security Keycloak Adapter cannot handle single sign-out when logout from another tab in browser](https://forum.keycloak.org/t/spring-security-keycloak-adapter-cannot-handle-single-sign-out-when-logout-from-another-tab-in-browser/1107)

<div class="topic-metadata">

**Author:** [@mohammadmjn](https://forum.keycloak.org/u/mohammadmjn)\
**Replies:** 6\
**Last updated:** [May 9, 2024, 1:38pm UTC](https://forum.keycloak.org/t/spring-security-keycloak-adapter-cannot-handle-single-sign-out-when-logout-from-another-tab-in-browser/1107 "2024-05-09T13:38:55Z")

</div>

I have implemented a spring boot web app using spring security and Keycloak to authenticate users. I used maven, spring boot 2.2.2 and Keycloak 8.0.1. All things works correctly except a problem in single sign-out. When …

---

## [Back channel logout doesn't work](https://forum.keycloak.org/t/back-channel-logout-doesnt-work/22520)

<div class="topic-metadata">

**Author:** [@Mikhail0299](https://forum.keycloak.org/u/Mikhail0299)\
**Replies:** 1\
**Last updated:** [June 12, 2023, 8:39am UTC](https://forum.keycloak.org/t/back-channel-logout-doesnt-work/22520 "2023-06-12T08:39:31Z")

</div>

Hello, I’d prefer to invalidate session in my spring boot application. Make controller with logout, and in Keycloak in field “Back channel logout URL” write “localhost:8080/logout”. I know that this way it doesn’t work,…

---

## [Unexpected error when handling authentication request to identity provider after upgrade 21.0.1](https://forum.keycloak.org/t/unexpected-error-when-handling-authentication-request-to-identity-provider-after-upgrade-21-0-1/20997)

<div class="topic-metadata">

**Author:** [@Warlusfag](https://forum.keycloak.org/u/Warlusfag)\
**Replies:** 2\
**Last updated:** [April 17, 2023, 11:24am UTC](https://forum.keycloak.org/t/unexpected-error-when-handling-authentication-request-to-identity-provider-after-upgrade-21-0-1/20997 "2023-04-17T11:24:09Z")

</div>

Hi Community, I need some help to secure my application because after upgrading my keycloak instance to version 21.0.1 (the last one) from the 16.1, I’m facing the error below trying to authentication client on this end…

---

## [Confusion about public/confidential clients](https://forum.keycloak.org/t/confusion-about-public-confidential-clients/14732)

<div class="topic-metadata">

**Author:** [@aksolv](https://forum.keycloak.org/u/aksolv)\
**Replies:** 4\
**Last updated:** [April 1, 2023, 8:33am UTC](https://forum.keycloak.org/t/confusion-about-public-confidential-clients/14732 "2023-04-01T08:33:11Z")

</div>

This might have been asked a lot already. My primary interest in Keycloak is in securing REST backends for javascript single page applications. I have full control over both ends. The easiest way to do this is to use a p…

---

## [Keycloak with a php application](https://forum.keycloak.org/t/keycloak-with-a-php-application/3953)

<div class="topic-metadata">

**Author:** [@keyuser](https://forum.keycloak.org/u/keyuser)\
**Replies:** 1\
**Last updated:** [July 25, 2020, 8:23am UTC](https://forum.keycloak.org/t/keycloak-with-a-php-application/3953 "2020-07-25T08:23:59Z")

</div>

Hi, I’m very new to the IAM world so please forgive my naive questions. I’m trying to authenticate users in a php application using keycloak. I have a few questions. It seems that there’s no official keycloak adapt…

---

## [DH ServerKeyExchange does not comply to algorithm constraints](https://forum.keycloak.org/t/dh-serverkeyexchange-does-not-comply-to-algorithm-constraints/5196)

<div class="topic-metadata">

**Author:** [@paulb-opusvl](https://forum.keycloak.org/u/paulb-opusvl)\
**Replies:** 7\
**Last updated:** [October 27, 2020, 1:34pm UTC](https://forum.keycloak.org/t/dh-serverkeyexchange-does-not-comply-to-algorithm-constraints/5196 "2020-10-27T13:34:31Z")

</div>

keycloak\_1 | 10:45:22,285 ERROR \[org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider\] (default task-3) Failed to make identity provider oauth callback: javax.net.ssl.SSLHandshakeException: DH ServerKeyExchange does…

---

## [Spring Boot and OpenJDK: ECDSA KeyFactory not available](https://forum.keycloak.org/t/spring-boot-and-openjdk-ecdsa-keyfactory-not-available/1849)

<div class="topic-metadata">

**Author:** [@serena.lenherr](https://forum.keycloak.org/u/serena.lenherr)\
**Replies:** 6\
**Last updated:** [November 11, 2020, 3:38pm UTC](https://forum.keycloak.org/t/spring-boot-and-openjdk-ecdsa-keyfactory-not-available/1849 "2020-11-11T15:38:03Z")

</div>

Hi there! I have the following setup: Spring Boot Backend (2.1.8.RELEASE) with REST endpoints AdoptOpenJDK11.0.3.7 Keycloak 9.0.0/8.0.2 (same issue with both versions) My REST endpoints are secured with Spring Securi…

---

## [Keycloak redirect\_uri issue](https://forum.keycloak.org/t/keycloak-redirect-uri-issue/13049)

<div class="topic-metadata">

**Author:** [@airedwin](https://forum.keycloak.org/u/airedwin)\
**Replies:** 4\
**Last updated:** [January 14, 2022, 4:40am UTC](https://forum.keycloak.org/t/keycloak-redirect-uri-issue/13049 "2022-01-14T04:40:13Z")

</div>

I have a svelte app using keycloakjs, I have an issue with the redirect\_uri when i’m at a route like http://localhost/#/test for example, and I sign in from there, i’m redirected to the keycloak sign in page, with the u…

---

## [Cannot\_match\_source\_hash when trying to set up the quickstart "app-profile-saml-jee-jsp"](https://forum.keycloak.org/t/cannot-match-source-hash-when-trying-to-set-up-the-quickstart-app-profile-saml-jee-jsp/13585)

<div class="topic-metadata">

**Author:** [@Sobakaa](https://forum.keycloak.org/u/Sobakaa)\
**Replies:** 2\
**Last updated:** [February 22, 2022, 1:31pm UTC](https://forum.keycloak.org/t/cannot-match-source-hash-when-trying-to-set-up-the-quickstart-app-profile-saml-jee-jsp/13585 "2022-02-22T13:31:10Z")

</div>

I’m at my wits end wit this, so plerhaps someone here has faced a similar issue? I was going through the SAML quickstart - configured my keycloak as per quickstart prerequisites, installed a new instance of wildfly, ins…

---

## [UMA integration with spring boot application](https://forum.keycloak.org/t/uma-integration-with-spring-boot-application/21595)

<div class="topic-metadata">

**Author:** [@chandanraj](https://forum.keycloak.org/u/chandanraj)\
**Replies:** 0\
**Last updated:** [April 19, 2023, 12:34pm UTC](https://forum.keycloak.org/t/uma-integration-with-spring-boot-application/21595 "2023-04-19T12:34:27Z")

</div>

We are exploring Keycloak for IAM management and our use case is as follows, each service has its own set of resources which should be managed by the owner of the resource or admins. For ex: in one of the service users c…

---

## [Using Token Exchange to refresh 3rd party IDP Access Token](https://forum.keycloak.org/t/using-token-exchange-to-refresh-3rd-party-idp-access-token/17458)

<div class="topic-metadata">

**Author:** [@sideeffffect](https://forum.keycloak.org/u/sideeffffect)\
**Replies:** 4\
**Last updated:** [January 4, 2024, 2:53am UTC](https://forum.keycloak.org/t/using-token-exchange-to-refresh-3rd-party-idp-access-token/17458 "2024-01-04T02:53:17Z")

</div>

I have locally running Keycloak 19 instance with --features=preview. I’m specifically interested in using the Token Exchange (from internal token to external token). www.keycloak org/docs/latest/securing\_apps/#internal…

---

## [Revoke offline token on logout](https://forum.keycloak.org/t/revoke-offline-token-on-logout/7055)

<div class="topic-metadata">

**Author:** [@Kormona](https://forum.keycloak.org/u/Kormona)\
**Replies:** 3\
**Last updated:** [September 24, 2024, 7:02pm UTC](https://forum.keycloak.org/t/revoke-offline-token-on-logout/7055 "2024-09-24T19:02:52Z")

</div>

I have created an mobile application which is using cordova. In the application i run keycloak.login with scope=offline\_access which gives me an offline token which i store. So i can use that token in keycloak.init javas…

---

## [Keycloak - ADFS integration, how to get OIDC token?](https://forum.keycloak.org/t/keycloak-adfs-integration-how-to-get-oidc-token/588)

<div class="topic-metadata">

**Author:** [@meetrameshkumar](https://forum.keycloak.org/u/meetrameshkumar)\
**Replies:** 1\
**Last updated:** [April 9, 2020, 9:51am UTC](https://forum.keycloak.org/t/keycloak-adfs-integration-how-to-get-oidc-token/588 "2020-04-09T09:51:39Z")

</div>

I’m working on keycloak with Microsoft ADFS (2012 server) integration. My understanding is below. In this case, Keycloak is Service Provider to user (exposed to us as OIDC) Keycloak communicates to ADFS with SAML and …

---

## [Getting 401 Unauthorized when activating Keycloak policy-enforcer](https://forum.keycloak.org/t/getting-401-unauthorized-when-activating-keycloak-policy-enforcer/13113)

<div class="topic-metadata">

**Author:** [@acarrilho](https://forum.keycloak.org/u/acarrilho)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 10:33am UTC](https://forum.keycloak.org/t/getting-401-unauthorized-when-activating-keycloak-policy-enforcer/13113 "2022-06-28T10:33:45Z")

</div>

I’m trying to integrate with Keycloak Authorization Services (resource, scopes, policies, permissions). I’m using version 16.1.0. For starters I have created a realm and a client. For the client I have enabled Direct Ac…

---

## [IdP post-login flow per client](https://forum.keycloak.org/t/idp-post-login-flow-per-client/12932)

<div class="topic-metadata">

**Author:** [@joao-rebelo](https://forum.keycloak.org/u/joao-rebelo)\
**Replies:** 4\
**Last updated:** [February 17, 2023, 9:03am UTC](https://forum.keycloak.org/t/idp-post-login-flow-per-client/12932 "2023-02-17T09:03:35Z")

</div>

In my setup some of my clients require a specific Browser Flow with custom authenticators, while for other clients I really want to run the standard Browser login flow. I can easily achieve this by the client-specific A…

---

## [Manage-account OTP security issue: 2FA can be disabled by the user](https://forum.keycloak.org/t/manage-account-otp-security-issue-2fa-can-be-disabled-by-the-user/4107)

<div class="topic-metadata">

**Author:** [@oweis](https://forum.keycloak.org/u/oweis)\
**Replies:** 6\
**Last updated:** [August 6, 2020, 2:02pm UTC](https://forum.keycloak.org/t/manage-account-otp-security-issue-2fa-can-be-disabled-by-the-user/4107 "2020-08-06T14:02:48Z")

</div>

hi guys, i found a bug which causes a security problem. We enabled “Configure OTP” and also set this as default action, so that each users needs to login with 2FA. everything works as expected for the normal usage: new …

---

## [Handling Authorization With Keycloak and Kong](https://forum.keycloak.org/t/handling-authorization-with-keycloak-and-kong/5036)

<div class="topic-metadata">

**Author:** [@canattofilipe](https://forum.keycloak.org/u/canattofilipe)\
**Replies:** 4\
**Last updated:** [February 4, 2023, 7:05am UTC](https://forum.keycloak.org/t/handling-authorization-with-keycloak-and-kong/5036 "2023-02-04T07:05:30Z")

</div>

Hello everybody, I am working in a project that uses Kong as API Gateway and wants to introduce Keycloak as IdP (Identity Provider), so the desired flow would be something like that: The client obtain an access token …

---

## [Login via REST API from custom made Login Page](https://forum.keycloak.org/t/login-via-rest-api-from-custom-made-login-page/2403)

<div class="topic-metadata">

**Author:** [@LalJohn](https://forum.keycloak.org/u/LalJohn)\
**Replies:** 2\
**Last updated:** [April 28, 2020, 9:04pm UTC](https://forum.keycloak.org/t/login-via-rest-api-from-custom-made-login-page/2403 "2020-04-28T21:04:18Z")

</div>

I have implemented Keycloak SSO in my angular web app using keycloak-angular package, but my requirement is to log in via API, not from the keycloak login page, as my login page contains few features other than authentic…

---

## [Authentication API Endpoint Rate Limits?](https://forum.keycloak.org/t/authentication-api-endpoint-rate-limits/7776)

<div class="topic-metadata">

**Author:** [@semangard](https://forum.keycloak.org/u/semangard)\
**Replies:** 4\
**Last updated:** [March 5, 2021, 7:03pm UTC](https://forum.keycloak.org/t/authentication-api-endpoint-rate-limits/7776 "2021-03-05T19:03:37Z")

</div>

What about doing something similar to Auth0 https://auth0.com/docs/policies/rate-limit-policy/authentication-api-endpoint-rate-limits or Okta https://developer.okta.com/docs/reference/rate-limits/ ?

---

## [Token Exchange feature status](https://forum.keycloak.org/t/token-exchange-feature-status/11904)

<div class="topic-metadata">

**Author:** [@dstorey](https://forum.keycloak.org/u/dstorey)\
**Replies:** 1\
**Last updated:** [November 12, 2021, 9:21am UTC](https://forum.keycloak.org/t/token-exchange-feature-status/11904 "2021-11-12T09:21:23Z")

</div>

Hello, Please can you advise when the Token Exchange feature in Keycloak will be officially supported? It appears to have been introduced in version four but has remained in Technology Preview ever since. We would like…

---

## [Bad gateway error, 502 with Firefox when authenticating. Chromium based browsers work](https://forum.keycloak.org/t/bad-gateway-error-502-with-firefox-when-authenticating-chromium-based-browsers-work/19575)

<div class="topic-metadata">

**Author:** [@tomz](https://forum.keycloak.org/u/tomz)\
**Replies:** 5\
**Last updated:** [March 9, 2023, 3:54pm UTC](https://forum.keycloak.org/t/bad-gateway-error-502-with-firefox-when-authenticating-chromium-based-browsers-work/19575 "2023-03-09T15:54:34Z")

</div>

For a while I am getting more and more reports from users which are receiving an err 502 when trying to logon to a service. And things got worse when upgrading to v20.0.2 And in the logs there is the infamous “Nginx ups…

---

## [Keycloak SSO with onLoad: 'login-required', redirects to keycloak server on page refresh](https://forum.keycloak.org/t/keycloak-sso-with-onload-login-required-redirects-to-keycloak-server-on-page-refresh/16892)

<div class="topic-metadata">

**Author:** [@sharmsa](https://forum.keycloak.org/u/sharmsa)\
**Replies:** 2\
**Last updated:** [August 13, 2022, 1:23pm UTC](https://forum.keycloak.org/t/keycloak-sso-with-onload-login-required-redirects-to-keycloak-server-on-page-refresh/16892 "2022-08-13T13:23:05Z")

</div>

Hi All, I am able to SSO to keycloak server using following configuration onLoad: ‘login-required’, it works fine, however on each page refresh, it redirects me to Authentication redirect and takes back me to app. I …

---

## [Ocassionally getting exception](https://forum.keycloak.org/t/ocassionally-getting-exception/5728)

<div class="topic-metadata">

**Author:** [@tomashoov](https://forum.keycloak.org/u/tomashoov)\
**Replies:** 3\
**Last updated:** [May 8, 2023, 6:13am UTC](https://forum.keycloak.org/t/ocassionally-getting-exception/5728 "2023-05-08T06:13:32Z")

</div>

I’m using Keycloak Spring Security Adapter, version 9.0.3. There is a method there org.keycloak.adapters.springsecurity.token.SpringSecurityTokenStore#saveAccountInfo that ocasionally throws exeption like this: Went to…

---

## [KeyCloak Access Token data Encryption](https://forum.keycloak.org/t/keycloak-access-token-data-encryption/138)

<div class="topic-metadata">

**Author:** [@paulogervas](https://forum.keycloak.org/u/paulogervas)\
**Replies:** 4\
**Last updated:** [January 27, 2024, 5:41am UTC](https://forum.keycloak.org/t/keycloak-access-token-data-encryption/138 "2024-01-27T05:41:44Z")

</div>

Hi, all! Its my first post here! I hope to have collaborate with you with my doubts and answers. I have a doubt using access tokens gererated a access\_token with the data: { “jti”: “cdfdc923-79c4-4442-8655-591a2cde9…

---

## [Create new user with Java API](https://forum.keycloak.org/t/create-new-user-with-java-api/4524)

<div class="topic-metadata">

**Author:** [@peletomi](https://forum.keycloak.org/u/peletomi)\
**Replies:** 3\
**Last updated:** [August 27, 2020, 12:22pm UTC](https://forum.keycloak.org/t/create-new-user-with-java-api/4524 "2020-08-27T12:22:22Z")

</div>

Hi there! I would like to create a new user in the realm “foo” with the Java admin client library. My connection code looks like this: val keycloak = Keycloak.getInstance(authServerUrl, "foo", clientId, accessToken) I…

---

## [Keycloak Jwt Validation with C#](https://forum.keycloak.org/t/keycloak-jwt-validation-with-c/23047)

<div class="topic-metadata">

**Author:** [@Merlin](https://forum.keycloak.org/u/Merlin)\
**Replies:** 4\
**Last updated:** [November 7, 2023, 8:13am UTC](https://forum.keycloak.org/t/keycloak-jwt-validation-with-c/23047 "2023-11-07T08:13:09Z")

</div>

Hello together, we want to validate a jwt we receive from keycloak in C# using openid connect. We have this code: builder.Services.AddAuthentication("Bearer") .AddJwtBearer("Bearer", options =\> { optio…

---

## [Create users from rest API](https://forum.keycloak.org/t/create-users-from-rest-api/14827)

<div class="topic-metadata">

**Author:** [@sginer](https://forum.keycloak.org/u/sginer)\
**Replies:** 8\
**Last updated:** [May 20, 2023, 12:13am UTC](https://forum.keycloak.org/t/create-users-from-rest-api/14827 "2023-05-20T00:13:33Z")

</div>

Hello I use the REST API to create user in demo realm. I want to use client credential grant to do that. I am using Keycloak 17 I use the admin-cli client\_id of the master realm to create the token. I have added manag…

---

## [Scopes configuration based on roles,](https://forum.keycloak.org/t/scopes-configuration-based-on-roles/6505)

<div class="topic-metadata">

**Author:** [@peletomi](https://forum.keycloak.org/u/peletomi)\
**Replies:** 4\
**Last updated:** [December 1, 2022, 11:54am UTC](https://forum.keycloak.org/t/scopes-configuration-based-on-roles/6505 "2022-12-01T11:54:40Z")

</div>

Hello, I am using Keycloak with two React frontends and a backend. The two frontends use two separate clients. The scopes are currently assigned to the clients. This has the drawback that the user for frontend A is able…

---

## [ClassLoading problem with Wildfly 23 and Keycloak 15.0.2](https://forum.keycloak.org/t/classloading-problem-with-wildfly-23-and-keycloak-15-0-2/10959)

<div class="topic-metadata">

**Author:** [@tahonen](https://forum.keycloak.org/u/tahonen)\
**Replies:** 0\
**Last updated:** [September 12, 2021, 12:39pm UTC](https://forum.keycloak.org/t/classloading-problem-with-wildfly-23-and-keycloak-15-0-2/10959 "2021-09-12T12:39:16Z")

</div>

Hi, I run Wildfly 23.0.2 in container and keycloak modules are on modules rid root@9b0e9301f0de /\]# ls -la /wildfly/modules/system/add-ons/keycloak/org/keycloak/ total 112 drwxrwxr-x 1 1001 root 4096 Sep 12 12:22 . drw…

---

## [Github login - is it possible restrict to a specific organization?](https://forum.keycloak.org/t/github-login-is-it-possible-restrict-to-a-specific-organization/5417)

<div class="topic-metadata">

**Author:** [@KairaMiu](https://forum.keycloak.org/u/KairaMiu)\
**Replies:** 1\
**Last updated:** [October 20, 2020, 12:37pm UTC](https://forum.keycloak.org/t/github-login-is-it-possible-restrict-to-a-specific-organization/5417 "2020-10-20T12:37:01Z")

</div>

I wanted to use GitHub for authentification of selfhosted services. Per default it seems that ALL GitHub users are able to login, although the OAuth App is connected to the organization. Other solutions provide a option…

---

## [How to get user id, and user UUID/GUID from Keycloak?](https://forum.keycloak.org/t/how-to-get-user-id-and-user-uuid-guid-from-keycloak/10421)

<div class="topic-metadata">

**Author:** [@Nefcanto](https://forum.keycloak.org/u/Nefcanto)\
**Replies:** 1\
**Last updated:** [August 6, 2021, 10:03am UTC](https://forum.keycloak.org/t/how-to-get-user-id-and-user-uuid-guid-from-keycloak/10421 "2021-08-06T10:03:51Z")

</div>

I’m using Keycloak inside docker and hosted on https://accounts.example.com. I’m using React as my client library and after login, the user goes into https://user.example.com. This React client uses .NET Core API locat…

---

## [Authorization Services integration with Azure API Management](https://forum.keycloak.org/t/authorization-services-integration-with-azure-api-management/3442)

<div class="topic-metadata">

**Author:** [@trotman23](https://forum.keycloak.org/u/trotman23)\
**Replies:** 2\
**Last updated:** [November 30, 2020, 6:54pm UTC](https://forum.keycloak.org/t/authorization-services-integration-with-azure-api-management/3442 "2020-11-30T18:54:36Z")

</div>

I’m looking at integrating keycloak’s authorization services with Azure API Management, and was wondering if anyone in this forum has tried this out. The adapters provide a great starting point for building an integrati…

---

## [Kerberos authentication - Matching credential not found](https://forum.keycloak.org/t/kerberos-authentication-matching-credential-not-found/4466)

<div class="topic-metadata">

**Author:** [@juliohm1978](https://forum.keycloak.org/u/juliohm1978)\
**Replies:** 1\
**Last updated:** [August 28, 2020, 6:08pm UTC](https://forum.keycloak.org/t/kerberos-authentication-matching-credential-not-found/4466 "2020-08-28T18:08:18Z")

</div>

Greetings, We are currently trying to configure Keycloak to provide Kerberos authentication to users from our corporate Active Directory. But right now, we are stuck on this issue. We have apparently followed all the s…

---

## [Ignoring policy enforcement for url patterns not specified in Spring Boot configuration](https://forum.keycloak.org/t/ignoring-policy-enforcement-for-url-patterns-not-specified-in-spring-boot-configuration/5347)

<div class="topic-metadata">

**Author:** [@DallasP9124](https://forum.keycloak.org/u/DallasP9124)\
**Replies:** 4\
**Last updated:** [June 24, 2021, 10:38am UTC](https://forum.keycloak.org/t/ignoring-policy-enforcement-for-url-patterns-not-specified-in-spring-boot-configuration/5347 "2021-06-24T10:38:01Z")

</div>

I having some trouble understanding the policy enforcement configuration needed in Keycloak and my Spring Boot application in order to have endpoints that are not specified in the application.properties file not be evalu…

---

## [Unable to integrate Keycloak with any identity provider](https://forum.keycloak.org/t/unable-to-integrate-keycloak-with-any-identity-provider/13133)

<div class="topic-metadata">

**Author:** [@misterpinetree](https://forum.keycloak.org/u/misterpinetree)\
**Replies:** 4\
**Last updated:** [August 29, 2024, 11:11am UTC](https://forum.keycloak.org/t/unable-to-integrate-keycloak-with-any-identity-provider/13133 "2024-08-29T11:11:02Z")

</div>

I used this tutorial to set up keycloak with google: https://keycloakthemes.com/blog/how-to-setup-sign-in-with-google-using-keycloak I can see the google sign-on on my login page, but when clicking it I get an invalid r…

---

## [Cannot retrieve realm keys with Spring Boot client](https://forum.keycloak.org/t/cannot-retrieve-realm-keys-with-spring-boot-client/2481)

<div class="topic-metadata">

**Author:** [@MichiBLN](https://forum.keycloak.org/u/MichiBLN)\
**Replies:** 3\
**Last updated:** [August 19, 2021, 12:29pm UTC](https://forum.keycloak.org/t/cannot-retrieve-realm-keys-with-spring-boot-client/2481 "2021-08-19T12:29:19Z")

</div>

Hello, I’m new here and new to Keycloak and I’m using Keycloak 9.0.3 (WildFly Core 10.0.3.Final) together with a Spring Boot client, trying to secure a REST-API. First I made a lot of screenshots of my keycloak configur…

---

## [Keycloak Gatekeeper - wishlist](https://forum.keycloak.org/t/keycloak-gatekeeper-wishlist/502)

<div class="topic-metadata">

**Author:** [@jangaraj](https://forum.keycloak.org/u/jangaraj)\
**Replies:** 5\
**Last updated:** [December 2, 2019, 3:10pm UTC](https://forum.keycloak.org/t/keycloak-gatekeeper-wishlist/502 "2019-12-02T15:10:20Z")

</div>

Hi @abstractj, What I would like to see in the keycloak-gatekeeper: Cloud Foundry (CF) route service mode - doc User will have config option cloud-foundry-route-service, which enables special mode for CF. The easies…

---

## [Keycloak-Connect Node.js PKCE](https://forum.keycloak.org/t/keycloak-connect-node-js-pkce/8285)

<div class="topic-metadata">

**Author:** [@amrap030](https://forum.keycloak.org/u/amrap030)\
**Replies:** 6\
**Last updated:** [April 4, 2021, 9:31pm UTC](https://forum.keycloak.org/t/keycloak-connect-node-js-pkce/8285 "2021-04-04T21:31:59Z")

</div>

Hello together, as far as I know, it is now recommended to use Authorization Code Flow with PKCE in public and confidential clients (draft-ietf-oauth-security-topics-16 - OAuth 2.0 Security Best Current Practice). Unfor…

---

## [Force re-authentication with prompt=login or max\_age=0 : does not work](https://forum.keycloak.org/t/force-re-authentication-with-prompt-login-or-max-age-0-does-not-work/9315)

<div class="topic-metadata">

**Author:** [@semangard](https://forum.keycloak.org/u/semangard)\
**Replies:** 1\
**Last updated:** [May 28, 2021, 8:36pm UTC](https://forum.keycloak.org/t/force-re-authentication-with-prompt-login-or-max-age-0-does-not-work/9315 "2021-05-28T20:36:17Z")

</div>

According to the doc : Securing Applications and Services Guide it might be possible to force a user re-authentication but I was not able to make it work For that I used the KeyCloak test app (Test application - K…

---

## [Redirect to keycloak on button click using Angular](https://forum.keycloak.org/t/redirect-to-keycloak-on-button-click-using-angular/3937)

<div class="topic-metadata">

**Author:** [@srudhish](https://forum.keycloak.org/u/srudhish)\
**Replies:** 3\
**Last updated:** [July 27, 2020, 3:18am UTC](https://forum.keycloak.org/t/redirect-to-keycloak-on-button-click-using-angular/3937 "2020-07-27T03:18:12Z")

</div>

Hi, I am integrating keycloak with Angular 8. I have a “home” page and a button in it. I need the application to redirect to keycloak login page when I am clicking on that button because, I need to show the “home” page …

---

## [POST Request requires CSRF token](https://forum.keycloak.org/t/post-request-requires-csrf-token/2615)

<div class="topic-metadata">

**Author:** [@eliasbalasis](https://forum.keycloak.org/u/eliasbalasis)\
**Replies:** 3\
**Last updated:** [January 18, 2023, 2:23am UTC](https://forum.keycloak.org/t/post-request-requires-csrf-token/2615 "2023-01-18T02:23:37Z")

</div>

I have successfully implemented a SpringBoot web application integrated with Keycloak 9.0.2 using the “https://www.keycloak.org/docs/9.0/securing\_apps/index.html#\_spring\_security\_adapter” instructions. Surprisingly, th…

---

## [Keycloak check sso is not working on chrome](https://forum.keycloak.org/t/keycloak-check-sso-is-not-working-on-chrome/4331)

<div class="topic-metadata">

**Author:** [@santhoshraju621](https://forum.keycloak.org/u/santhoshraju621)\
**Replies:** 0\
**Last updated:** [August 17, 2020, 8:50am UTC](https://forum.keycloak.org/t/keycloak-check-sso-is-not-working-on-chrome/4331 "2020-08-17T08:50:42Z")

</div>

hi, I am facing an issue with keycloak-js adapter. it is failed to check the session in chrome. even though the user is loggedin it is returning false. but the user did the login action it is identifying the session. bu…

---

## [How to configure AWS Classic load balancer for keycloak service?](https://forum.keycloak.org/t/how-to-configure-aws-classic-load-balancer-for-keycloak-service/169)

<div class="topic-metadata">

**Author:** [@mails2muki](https://forum.keycloak.org/u/mails2muki)\
**Replies:** 3\
**Last updated:** [January 10, 2020, 10:45pm UTC](https://forum.keycloak.org/t/how-to-configure-aws-classic-load-balancer-for-keycloak-service/169 "2020-01-10T22:45:07Z")

</div>

Hi I have installed Keycloak with postgress enabled on AWS EKS / K8s using helm chart install with std defaults. The service is running fine with an ingress rule and SSL disabled. However, we want to use load balancers …

---

## [What realm specific role is needed to assign role(s) to a user?](https://forum.keycloak.org/t/what-realm-specific-role-is-needed-to-assign-role-s-to-a-user/395)

<div class="topic-metadata">

**Author:** [@fredericfaddaIBM](https://forum.keycloak.org/u/fredericfaddaIBM)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 9:46pm UTC](https://forum.keycloak.org/t/what-realm-specific-role-is-needed-to-assign-role-s-to-a-user/395 "2019-11-12T21:46:04Z")

</div>

Hi there, I’m quite new at Keycloak. My customer wants to use admin delegation; i.e.: one user is admin of a realm and can manage the users in this realm. I’m testing this but I’m a bit locked when trying to do so. L…

---

## [Forcing login after password update/recovery](https://forum.keycloak.org/t/forcing-login-after-password-update-recovery/26296)

<div class="topic-metadata">

**Author:** [@pawankumar-netspi](https://forum.keycloak.org/u/pawankumar-netspi)\
**Replies:** 8\
**Last updated:** [June 7, 2024, 2:29pm UTC](https://forum.keycloak.org/t/forcing-login-after-password-update-recovery/26296 "2024-06-07T14:29:21Z")

</div>

I want to implement the following flow for updating/resetting passwords in Keycloak: Allow users to start the password recovery process by entering their email address on the reset page. Send an email to the user conta…

---

## [How to rotate DB connection credentials using AWS Secret Manager without restarting the KeyCloak pod](https://forum.keycloak.org/t/how-to-rotate-db-connection-credentials-using-aws-secret-manager-without-restarting-the-keycloak-pod/26658)

<div class="topic-metadata">

**Author:** [@gurteksingh](https://forum.keycloak.org/u/gurteksingh)\
**Replies:** 0\
**Last updated:** [June 25, 2024, 5:41am UTC](https://forum.keycloak.org/t/how-to-rotate-db-connection-credentials-using-aws-secret-manager-without-restarting-the-keycloak-pod/26658 "2024-06-25T05:41:25Z")

</div>

I have KeyCloak deployed in Kubernetes with external database. I am using AWS Secrets Manager to generate and automatically rotate secrets for my DB credentials (password). From my research, when DB secret is rotated in…

---

## [Support for oAuth2.0 identity provider](https://forum.keycloak.org/t/support-for-oauth2-0-identity-provider/20046)

<div class="topic-metadata">

**Author:** [@snmdev](https://forum.keycloak.org/u/snmdev)\
**Replies:** 7\
**Last updated:** [February 5, 2023, 9:15pm UTC](https://forum.keycloak.org/t/support-for-oauth2-0-identity-provider/20046 "2023-02-05T21:15:12Z")

</div>

Hello, Does KeyCloak offer any support to broker with oAuth2 identity providers? I’m not using a social provider. I would like to KeyCloak to use my application which supports oAuth2.0 implementation as an identity prov…

---

## [How to authenticate users from different realms against a single application?](https://forum.keycloak.org/t/how-to-authenticate-users-from-different-realms-against-a-single-application/10659)

<div class="topic-metadata">

**Author:** [@beleza](https://forum.keycloak.org/u/beleza)\
**Replies:** 1\
**Last updated:** [August 24, 2021, 5:17pm UTC](https://forum.keycloak.org/t/how-to-authenticate-users-from-different-realms-against-a-single-application/10659 "2021-08-24T17:17:25Z")

</div>

Dear all, I have the following situation: My application consists in a frontend and a backend micro service, which both authenticate themselves via the same realm on one keycloak server. This set-up has been used for d…

---

## [More CORS issues Access-Control-Allow-Origin header not being sent by Keycloak](https://forum.keycloak.org/t/more-cors-issues-access-control-allow-origin-header-not-being-sent-by-keycloak/3993)

<div class="topic-metadata">

**Author:** [@drwonky](https://forum.keycloak.org/u/drwonky)\
**Replies:** 3\
**Last updated:** [August 5, 2020, 1:15am UTC](https://forum.keycloak.org/t/more-cors-issues-access-control-allow-origin-header-not-being-sent-by-keycloak/3993 "2020-08-05T01:15:40Z")

</div>

Hello, I know this subject has been beaten to death before, and I’ve spent a good portion of the last 24 hours trying to resolve this and drill down. Here’s what I’ve got: (I have to muddy the URLs because the forum s…

---

## [AWS + ECS + ALB + HTTPS but](https://forum.keycloak.org/t/aws-ecs-alb-https-but/108)

<div class="topic-metadata">

**Author:** [@grulles](https://forum.keycloak.org/u/grulles)\
**Replies:** 4\
**Last updated:** [January 4, 2021, 12:29pm UTC](https://forum.keycloak.org/t/aws-ecs-alb-https-but/108 "2021-01-04T12:29:45Z")

</div>

Hello, I have some trouble with Keycloak admin part using https. I successfully configure connection to my application using HTTPS (ACM) and keycloak authentication as well. but when I try to log in on admin web site …

[Previous page](https://forum.keycloak.org/c/securing-applications/5.md?per_page=50)

[Next page](https://forum.keycloak.org/c/securing-applications/5.md?page=2&per_page=50)
