Problem/Motivation
When the UserInfo endpoint is available for given provider, it doesn't use it as the check is not correct.
Also fixed a notice regarding the github provider
Steps to reproduce
Configure the github provider, and try to log in with github.
See attached patch for fix.
| Comment | File | Size | Author |
|---|---|---|---|
| diff.patch | 1.06 KB | tomvanetten |
Comments
Comment #2
jcnventuraWhat is the notice you get with the github provider?
Comment #4
jcnventuraI'm committing the userinfo bug fix, as that is an obvious improvement, but I still would like to know what is the notice from Github.
Comment #6
tomvanetten commentedHi Jcventura,
Github doesn't provide an id_token inside the token set, so the line of $tokens['id_token'] puts a notice (undefined index) in to the DB. This check helps for that.
Kind regards,
Tom