Azure / Azure/static-web-apps

Changing role types?

Open
#655 2 comments 0 reactions 0 assignees View on GitHub
AuthN/Z
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I'm setting up custom authenticating using `aad` to get custom branding (would be nice to have that ability in the built in `aad` support 😊).

And mostly it's working great, however I'm running into problems when I need to get the users roles.

I've created an api function that looks through the user claims and grabs the roles from there.

Sometimes the roles are in the claims with the `typ` set to `http://schemas.microsoft.com/ws/2008/06/identity/claims/role`, but sometimes the `typ` is `roles`.

I'm wondering why this isn't stable?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.