Closed erezrokah closed 4 years ago
- Do you want to request a feature or report a bug? Bug, see https://github.com/netlify/netlify-cms/issues/3587#issuecomment-612983670 for context
- What is the current behavior?
Trying to login via GitHub with an invited but non primary email fails.
- If the current behavior is a bug, please provide the steps to reproduce.
- What is the expected behavior?
Trying to login via GitHub with an invited but non primary email should succeed.
- Relevant code https://github.com/netlify/gotrue/blob/c9327d42aacc622c9dac493c8126f01f15ffc44d/api/provider/github.go#L86
Update: relevant for Bitbucket too. For GitLab looks like the first additional email is taken if exists, otherwise the primary email is used.
- Do you want to request a feature or report a bug? Bug, see https://github.com/netlify/netlify-cms/issues/3587#issuecomment-612983670 for context
- What is the current behavior?
Trying to login via GitHub with an invited but non primary email fails.
- If the current behavior is a bug, please provide the steps to reproduce.
- What is the expected behavior?
Trying to login via GitHub with an invited but non primary email should succeed.
- Relevant code https://github.com/netlify/gotrue/blob/c9327d42aacc622c9dac493c8126f01f15ffc44d/api/provider/github.go#L86