AppAuth-Android icon indicating copy to clipboard operation
AppAuth-Android copied to clipboard

Android - Integrate with keycloak behind a gateway

Open Tho391 opened this issue 4 years ago • 0 comments

Configuration

  • AppAuth Version: 0.8.1
  • Integration: Native Kotlin
  • Identity provider: Keycloak

Description

Currently, my Keycloak server is behind a reverse proxy (Azure App Gateway), there are multiple instances of the Keycloak. For the Gateway to know which Keycloak instance to redirect the request, I need to add the session affinity id (ApplicationGatewayAffinity) in the authentication request header.

So, is there any way that I can custom function performTokenRequest() to add session affinity id into the request header?

Tho391 avatar Jan 17 '22 02:01 Tho391