jaredhanson / passport-openidconnect

OpenID Connect authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-openidconnect/?utm_source=github&utm_medium=referral&utm_campaign=passport-openidconnect&utm_content=about
MIT License
188 stars 173 forks source link

Added groups to profile scope. #107

Closed liscuate closed 1 year ago

liscuate commented 1 year ago

Some authentication providers such as Authentik supply the groups through the profile scope. This is not present in the profile object supplied by passport-openidconnect. I've added the object to the profile object. (Tested in my own environment and seems to work flawlessly)

liscuate commented 1 year ago

I've just noticed this is a duplicate of #101. Same code, and tested.