Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum
T

hey, I was trying to implement a google play login as custom provider, and faced issues on user mapping.

I thought google sign-in would work for google play login too, but faced issue "email is empty". seems like google play login doesn't provide email field in scope. as a workaround, I implemented a custom provider with
auth url = https://accounts.google.com/o/oauth2/v2/auth
token url = https://oauth2.googleapis.com/token
scope = https://www.googleapis.com/auth/games
userinfo url = https://www.googleapis.com/games/v1/players/me