Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UserFromUserInfoURL ¶
UserFromUserInfo maps provider-specific user info to our standard User struct.
When integrating a new OAuth2 provider, first add a case statement for the new provider name. Then create a raw struct that matches the provider's user info JSON response. Map the fields to the standard db.User struct while ensuring required fields like email verification are properly validated before returning.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.