Open
Description
Is your feature request related to a problem? Please describe.
After a user logs in, it shows their email address. But it would be better to show their GitHub username.
Describe the solution you'd like
Background: Given GCP Cloud Identity Platform is meant to be very generic, we will have to do some additional steps as mentioned in these docs [1] [2] to actually get the username.
- Create our own internal User type that is used inside the User context. It should extend the current User and then have a new high level field called GitHubUsername. which is string or null.
- Create a lit task that is created and started within the onAuthStateChanged callback.
- The playwright test will need to be modified to intercept a call to the GitHub API to return a fake username.
Metadata
Metadata
Assignees
Type
Projects
Status
No status