Closed Zhuohui-Li closed 1 year ago
Hi @Zhuohui-Li , thank you for your issue. What does look like your configuration?
I think the issue is Linked to https://github.com/AxaGuilDEv/react-oidc/issues/910
You may temporary comment storage mode. I will try to fix it tomorrow.
Hi @guillaume-chervet The configuration is
client_id:
redirect_uri:
scope:
authority:
refresh_time_before_tokens_expiration_in_second: 10,
service_worker_relative_url: `/OidcServiceWorker.js`,
service_worker_only: false,
storage: localStorage,
authority_configuration: {
},
},
Thank you @Zhuohui-Li , you need to comment storage line in your configuration. If it does not work you can downgrade to an previous version. I will fix this tomorrow. Very sorry for that bug @Zhuohui-Li
Which browser are you using? @Zhuohui-Li
Which browser are you using? @Zhuohui-Li
Chrome Version 107.0.5304.121 on M1 MacBook
hi @Zhuohui-Li ,
Version 6.10.21 fix this issue: https://github.com/AxaGuilDEv/react-oidc/commit/1b1cfd58b6dd88968e68175e20435854b34acba1 I'am very sorry for the delay, thank you very much for your help :)
Hi @Zhuohui-Li , i think the error is fixed now. May we close the issue?
Hi @guillaume-chervet Thanks a lot. I closed the issue
Issue and Steps to Reproduce
copy the ServiceWorker.js from
oidc/vanilla/OidcServiceWorker.js
to./public
and then runVersions
6.10.20
Screenshots
Expected
no errors
Actual
throwing a DOMException error
Additional Details