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
I am trying to add Active Admin to my multi-tenant app (with the Apartment gem). I have Devise running on the main app under 'User' and added 'AdminUser' to Active Admin. Devise works fine for both but fails when I try to use Apartment in Active Admin.
If I disable Devise my tenant switching logic works fine. If I turn Devise back on the first tenant switch works then after that Devise throws 401 unauthorized errors. The only think I can troubleshoot so far is that you actually do not get logged out. You have to manually enter the logout URL to force a logout to actually login again otherwise logging in just fails over and over again.
This is beyond my expertise to troubleshoot further so any suggestions would be appreciated.
The text was updated successfully, but these errors were encountered:
I am trying to add Active Admin to my multi-tenant app (with the Apartment gem). I have Devise running on the main app under 'User' and added 'AdminUser' to Active Admin. Devise works fine for both but fails when I try to use Apartment in Active Admin.
Here is my current StackExchange post on this before I narrowed down the issue to Devise: http://stackoverflow.com/questions/35378248/switching-apartment-tenants-in-active-admin
If I disable Devise my tenant switching logic works fine. If I turn Devise back on the first tenant switch works then after that Devise throws 401 unauthorized errors. The only think I can troubleshoot so far is that you actually do not get logged out. You have to manually enter the logout URL to force a logout to actually login again otherwise logging in just fails over and over again.
This is beyond my expertise to troubleshoot further so any suggestions would be appreciated.
The text was updated successfully, but these errors were encountered: