INGInious
INGInious copied to clipboard
Github LTI authentification does not use primary github email
Describe the bug When using GitHub to sign up the email address was set to one of my non-primary email addresses. It seems like it is using the oldest email address added to my GitHub account.
After suppressing the unwanted email addresses and trying again, this time the complete name was not pre-completed and the email address was one of an already existing user in DB. This may be caused by a lookup in DB with an empty username (complete name).
INGInious installation details
- Version: v.0.9.dev211+gb3a40952
To Reproduce Steps to reproduce the behavior:
- Have a GitHub account with multiple email addresses and the first one not being the primary address.
- Click on 'sign in'.
- Select the GitHub logo below 'Sign in with'
- See error
Expected behavior Display the correct complete name and the primary GitHub email address.
Screenshots