omniauth / omniauth_openid_connect

MIT License
170 stars 187 forks source link

feat: Allow calling of the UserInfo endpoint to be configurable #172

Open petewalker opened 10 months ago

petewalker commented 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.

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.

Resolves #145

petewalker commented 9 months ago

@stanhu @bufferoverflow - Would it be possible to get some feedback on this?