Skip to content

v2.0.2: email does not exist if email-scope is excluded (#173)

Compare
Choose a tag to compare
@faustbrian faustbrian released this 28 Jun 04:29
· 40 commits to master since this release
Currently, the Discord provider doesn't take into account when email OAuth scope is not selected and throws an exception.

When using `identify` and excluding `email`, Discord provider tries to retrieve `email` array key within `mapUserToObject()` without checking if `email` exists.