Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(oidc): parse right claims for GitHub authentication
Before this change the authentication via GitHub always errored out within getProfileNameFromEmail because the rune list had a zero length, after my investigation I have been able to pin it down to a lacking email address fetched from the GitHub provider. Since there are various claims like the username, email and fullname which aren't part of the generated claims I have added a switch to properly read all relevant information from the right claims within the GitHub provider. This commit is still lacking proper error display on the login page, but this should be added on another commit in general.
- Loading branch information