Since standard OpenID Connect mapping is used, all of the claims except the standardized ones are thrown away. Is there a way to override this behavior?
I personally expected this to be doable at least on the Strategy level by customizing the normalize/2, but the user there is already stripped of all the claims.
I've fixed this in #100. I'll get #97 ready and probably release all this in v0.2.0. Everything except ID Token keys will be included in the params now.
I'm currently struggling to find a way how to map additional claims from Azure AD provider into
user_identity
changeset.These are the claims that Azure AD returns:
Since standard OpenID Connect mapping is used, all of the claims except the standardized ones are thrown away. Is there a way to override this behavior? I personally expected this to be doable at least on the
Strategy
level by customizing thenormalize/2
, but the user there is already stripped of all the claims.