Question

How can I get a user's full name from Google when authenticating with yesod-auth's GoogleEmail backend? In my app, I'd like to require users enter as little redundant information as possible.

I'm not sure where to start. Will I need to modify yesod-auth?

Was it helpful?

Solution

Unfortunately, yesod-auth doesn't currently provide you with enough access to the underlying OpenID response to get that information. I'd be happy to accept a pull request to extend the API in that direction.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top