OpenUnison / openunison-k8s

Access portal for Kubernetes
Apache License 2.0
105 stars 5 forks source link

Keep me signed in after browser close #54

Closed alenhodzic85 closed 2 years ago

alenhodzic85 commented 2 years ago

Hi, We are using Azure as IdP. When the browser is closed and reopened, you need to login again. Not great user experience. Is this created by design? Other services don't have this issues like gitlab or jenkins.

There are some exceptions like Opera browser on Windows.

Kind regards,

mlbiam commented 2 years ago

When you say "you need to login again", are you saying Azure makes you sign in again and re-enter your credentials?

alenhodzic85 commented 2 years ago

Yes, that's right.

mlbiam commented 2 years ago

Sorry for the delay, was on vacation.

Yes, that's right.

We don't enforce a re-authentication, that's managed by your identity provider (AzureAD in this case). I think there's a setting on AzureAD that lets you stay logged in after restarting the browser.

alenhodzic85 commented 2 years ago

Hey sorry, I was on vacation too.

Yes, there is an option in Azure and it is already enabled:

Azure Active Directory > Company branding > Configure > Advanced settings section > Show option to remain signed in > YES

image

And this on client side

image

Is it possible somehow app isn't trying to use persistent cookie stored on the disk, because other applications don't have this problem (gitlab, jenkins...)

alenhodzic85 commented 2 years ago

Hi mlbiam, have you managed to see my previous message?