Hello, in the context of using OIDC to authenticat...
# talk-kratos
m
Hello, in the context of using OIDC to authenticate users from Azure AD, I’m looking for guidance/example that helps with bringing
role
information and mapping it to identity’s traits or metadata
Specially looking at the
Claims
struct here https://github.com/ory/kratos/blob/8b791b9b8d09b6b8159e5a0d4185a02418ef6693/selfservice/strategy/oidc/provider.go#L24 I don’t see how I can bring in custom claims from Azure
Whereas in Azure AD I can assign application roles to user which are returned in the
roles
claim of the ID Token: https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-add-app-roles-in-azure-ad-apps
Hello, I was just wondering if anyone had any suggestion here
I can’t seem to make this work and I haven’t heard back from community.. so I created this feature request: https://github.com/ory/kratos/issues/2641 and working on a PR behind the scene