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
{{ message }}
Repository navigation
Single session per user while integrating with Omniauth Azure AD #885
Can you add a little detail about what you want to happen?
My guess is that you're using clearance for session maintenance ... but want to actually auth with another service/lib and then have a callback/hook into clearance to reset that user's session when they sign in?
I had integrated gem 'omniauth-azure-activedirectory' with my application. Using the creds from azure active directory I activate the clearance user sessions, and this works perfectly.
I was trying to implement block concurrent user sign in. How do I force the user to logout of his first instance if he has initiated a second one?
Activity
mjankowski commentedon Mar 5, 2020
Can you add a little detail about what you want to happen?
My guess is that you're using clearance for session maintenance ... but want to actually auth with another service/lib and then have a callback/hook into clearance to reset that user's session when they sign in?
sithara commentedon Mar 6, 2020
Thanks for the prompt response @mjankowski .
I had integrated gem 'omniauth-azure-activedirectory' with my application. Using the creds from azure active directory I activate the clearance user sessions, and this works perfectly.
I was trying to implement block concurrent user sign in. How do I force the user to logout of his first instance if he has initiated a second one?