Closed nileshtrivedi closed 5 years ago
Hello @nileshtrivedi,
thanks for taking the time to report issues. The issue you are experiencing is not a specific issue with omniauth-auth0, but an issue with the Twitter connection itself. We are aware of this issue and have an item in our backlog to address this.
In the meantime, the workaround of using that rule should still be valid, AFAIK. Closing this issue as it can not be addressed in this library.
Description
I found a thread in forum about the same issue with no resolution: https://community.auth0.com/t/twitter-nickname-is-not-the-same-as-screen-name/17297
Unlike every other social login provider, Twitter strategy returns
request.env['omniauth.auth']['info']['nickname']
value which is NOT the user's Twitter handle.The workaround of adding this rule in Auth0 dashboard does work:
Prerequisites
Environment