Videl Smith

Results 8 comments of Videl Smith

I'm also wondering about the role mapping, I would like to add a claim "role" if my user has a specific role (admin e.g) in keycloak and if it has...

Apparently what I want to do (control what's in the role claim according to my user settings) could be done with a JavaScript provider: https://www.keycloak.org/docs/latest/server_development/#_script_providers

A position index wasn't enough for me: PGRST_ROLE_CLAIM_KEY: '.resource_access.frontend.roles[0]' My users have a lot of roles and the first one is not necessarily the one I want to use for...

Would you like a PR for this? It was pretty confusing for it to return: To call a procedure, use CALL The documentation made me think it was supported because...

Btw the build failed at: tsc -p tsconfig-es5.json

Was pretty surprised seeing noderig installed on mine.. (and all the other things too)

@michael-todorovic, I used a custom mapper to check that I had a specific role. I then added another claim according to the test. Would you be interested in seeing this?

@davidjamesstone https://gist.github.com/Videl/222eff2f16383e2f318ecec2228d1008