Skip to content

Are pre-request functions run when role cannot be set as expected during jwt verification? #2728

Answered by dnk8n
dnk8n asked this question in Q&A
Discussion options

You must be logged in to vote

Actually, thinking about this a bit more. I wouldn't want the condition IF CURRENT_USER != CLAIMED_USER AND CLAIMED_USER LIKE '%@hellodnk8n.onmicrosoft.com' to be run at each and every request. I will see if I can split it out to an /rpc/ endpoint, which the frontend can run and redirect to where it was.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dnk8n
Comment options

@wolfgangwalther
Comment options

@dnk8n
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants