02/04/2023, 1:48 PM
Hey. I'm trying to use SuperTokens inside my chrome extension. I have 3 parts - popup. General extension part. Login flow, etc - content. injected html to web pages - background - process secure calls to my api. I managed to implement login/logout flow inside popup But stuck with use token in background process. I'm receiving error import() is not allowed in service workers. when I'm trying to init SuperTokens Is it possible to get secure token from background process in chrome extension?


02/04/2023, 1:52 PM
Hey @Dyn
We don’t have a guide for using supertokens with an extension. But I think some people ha he managed to get it to work. Search on our discord for past conversations about this