Custom REST endpoints with clients other than admin-cli? #15
Closed
steffenstolze
started this conversation in
General
Replies: 1 comment 1 reply
-
Basically it should work (and and has worked in history) with any client. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there :)
The custom endpoint creation worked like a charm! Only problem is that
only works when authenticating with client
admin-cli
(public or confidential doesn't matter, user is also totally irrelevant).As long as I use the
admin-cli
client when generating the token I can use that token in my custom endpoint. Any other client andauth
is always null.I've tried everything from making the client confidential over giving the user the admin role or overwriting the
aud
claim.Is it possible? I basically want to create an endpoint where the user can ask if he has specific permissions based on his access-token in this client.
Beta Was this translation helpful? Give feedback.
All reactions