INGInious icon indicating copy to clipboard operation
INGInious copied to clipboard

Github LTI authentification does not use primary github email

Open AlexandreDoneux opened this issue 9 months ago • 0 comments

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:

  1. Have a GitHub account with multiple email addresses and the first one not being the primary address.
  2. Click on 'sign in'.
  3. Select the GitHub logo below 'Sign in with'
  4. See error

Expected behavior Display the correct complete name and the primary GitHub email address.

Screenshots

Screenshot from 2024-05-28 11-26-39

AlexandreDoneux avatar May 28 '24 09:05 AlexandreDoneux