nokia / kong-oidc

OIDC plugin for Kong
Apache License 2.0
454 stars 320 forks source link

Didn't see X-Access-Token and X-Id-Token in upstream server #117

Closed A1Darkwing closed 5 years ago

A1Darkwing commented 5 years ago

Hi all,

I used this plugin for Kong Gateway and Keycloak But I didn't see X-Access-Token and X-Id-Token in upstream server only x-userinfo appear in request header.

Do I need to config anything in Keycloak server to provide these token? Please help to confirm that. Please noted that I set the Access Type in Keycloak to Confidential and I set Service Accounts Enabled = True (On) But the header in mockbin still display only x-userinfo

I used Kong 1.1.1 and Keycloak 5.0

I looking forward to hearing from you soon.

Thank you in advance.

A1Darkwing commented 5 years ago

I used this image : https://github.com/Revomatico/docker-kong-oidc/blob/master/Dockerfile And it resolved my issue :D

I closed my issue