jjbohn / omniauth-openid-connect

MIT License
62 stars 126 forks source link

expose parsed id_token #48

Closed singpolyma closed 8 years ago

singpolyma commented 8 years ago

So that one can actually get at the sub needed to identify a user

hotgazpacho commented 8 years ago

Take a look at the uid that the strategy exposes in the auth hash. Seems this comes from the sub claim on the access token. I would hope that these would be the same on both the ID token and Access token...

singpolyma commented 8 years ago

I no longer have access to the project I was doing this for. Will check out if this works if I ever have need again.