Reputation: 1208
I try to use libraries like oidc-client-js in service worker, but they cannot work in service worker environment, because of missing window and XMLHttpRequest. Please help me to find example of working openid connect in chrome MV3 extension.
Upvotes: 3
Views: 467
Reputation: 1208
I removed oidc-client-js and implemented it manually using such sources with launchwebauthflow: https://bugs.chromium.org/p/chromium/issues/detail?id=907920 https://roberttolton.com/posts/implementing-auth0-authentication-into-a-chrome-extension
Upvotes: 1