oidc-client icon indicating copy to clipboard operation
oidc-client copied to clipboard

Authentication failed on Safari

Open thanhpd56 opened this issue 2 years ago • 4 comments

Issue and Steps to Reproduce

Open https://black-rock-0dc6b0d03.1.azurestaticapps.net/ on safari, login by Google then application automatically redirect to https://black-rock-0dc6b0d03.1.azurestaticapps.net/ again.

Versions

Screenshots

Expected

Login success

Actual

Error authentication An error occurred during authentication.

Additional Details

The console error log is: Error: Service Worker storage disapear — oidc.ts:852

  • Installed packages:

thanhpd56 avatar Oct 27 '22 22:10 thanhpd56

Thank you @thanhpd56 for the issue. I think safari and ios made an update and kill service worker quicker now when no tab are active under the domain url. I will try to make a fix today, but i am one week of. I may fix it in one week if i cannot today. I know what to fix.

guillaume-chervet avatar Oct 28 '22 10:10 guillaume-chervet

Hi @thanhpd56 last published alpha may fix it. https://icy-glacier-004ab4303-897.westeurope.2.azurestaticapps.net/

I cannot test it on a Mac.

guillaume-chervet avatar Oct 28 '22 21:10 guillaume-chervet

the latest version should work on mac @thanhpd56 https://black-rock-0dc6b0d03.1.azurestaticapps.net/

guillaume-chervet avatar Nov 25 '22 17:11 guillaume-chervet

Hi @thanhpd56 , on which os are you?

guillaume-chervet avatar Mar 10 '23 22:03 guillaume-chervet