Consumer identification from OpenId/Keycloak access token #5547
-
Hi Guys, Thanks in advance. Joga Singh |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
The consumer needs to be configured in APISIX. Since the access token is generated by Keycloak, how can we match it with the consumer? |
Beta Was this translation helpful? Give feedback.
-
Hi @singhjoga, after reading the concepts here[1], here is my understanding:
I'm not sure if this meets your needs? and also cc @bzp2010 to have a confirmation 😄 [1] https://apisix.apache.org/docs/apisix/architecture-design/consumer |
Beta Was this translation helpful? Give feedback.
-
Hi @singhjoga
It's a little difficult now, but apisix/apisix/plugins/openid-connect.lua Lines 301 to 320 in 8f0b066 And then we can add a limit-* plugin with the config of those variables. As for I create issue here: #5634 |
Beta Was this translation helpful? Give feedback.
The consumer needs to be configured in APISIX. Since the access token is generated by Keycloak, how can we match it with the consumer?