You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my application I have 2 different devise scopes. When using devise-twitter to do the perform_connect, upon the invocation of Warden::OAuth.access_token_user_finder, the block is using @env['warden'].user to retrieve the currently logged in user which when using multiple scope is nil. Replacing that with @env['warden'].user(@scope) fixes this issue.
The text was updated successfully, but these errors were encountered:
In my application I have 2 different devise scopes. When using devise-twitter to do the perform_connect, upon the invocation of Warden::OAuth.access_token_user_finder, the block is using @env['warden'].user to retrieve the currently logged in user which when using multiple scope is nil. Replacing that with @env['warden'].user(@scope) fixes this issue.
The text was updated successfully, but these errors were encountered: