Open petewalker opened 10 months ago
Allows the calling of the UserInfo endpoint to be configurable.
As mentioned in #148, ADFS does not support the email or profile claims, and calling the UserInfo endpoint is pointless, as it only returns the subject.
email
profile
As the UserInfo endpoint is not required, this PR adds a new config item - call_userinfo_endpoint (default true), which allows the skipping of this endpoint.
call_userinfo_endpoint
true
Resolves #145
@stanhu @bufferoverflow - Would it be possible to get some feedback on this?
Allows the calling of the UserInfo endpoint to be configurable.
As mentioned in #148, ADFS does not support the
email
orprofile
claims, and calling the UserInfo endpoint is pointless, as it only returns the subject.As the UserInfo endpoint is not required, this PR adds a new config item -
call_userinfo_endpoint
(defaulttrue
), which allows the skipping of this endpoint.Resolves #145