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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top