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

Hi, I am trying to authenticate through a custom OAuth provider with Roblox. All of this works fine, except that Roblox does not provide an email address. This is not a problem for me as I am not intending to use email addresses, just unique user IDs.

However, when I try to add Roblox as a 3rd-party login on my profile, I get an error once I reach the callback url stating: Failed to login in: cannot find email in user from custom provider. Is there a way to disable this behaviour as I do not need the email address?

1views
2users
1 minread

Alright, I managed to "fix" it by just mapping the sub to the email also. Please let me know if there is a more elegant solution to do this lol

I think your fix is already enough straightforward. I don't know what kind of elegance you need

1 / 3
Oct 2024