Skip to content

How can I bypass RequiredScopeOrAppPermission in integration tests? #1871

Discussion options

You must be logged in to vote

In my case, manually adding the Role claim to my user worked:

    new Claim(ClaimConstants.Roles, "DaemonAppRole")

Would still love to hear other ideas.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jmprieur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant