nokia / kong-oidc

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

Consumer mapping doesn't work #190

Open ozonni opened 3 years ago

ozonni commented 3 years ago

I have a token with the following claims

"client_id": "swagger-ui",
"sub": "4fd65f02-df01-4aa0-8bc7-9a4eff44d916",
"auth_time": 1610548384
...

And i have a consumer with custom_id=swagger-ui image

In OIDC plugin i have the following configuration

image

Then if i configure e.g. request-termination for swagger-ui consumer only, i get all requests terminated also for other clients with different client_id claims.

Is there a way to somehow debug that process or do you see any issues in the configuration?