window.sessionToken and SPA Wiki query #449
Unanswered
SDGPeteBatin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is the Wiki up to date and just the wrong way around?
On this page https://github.com/Kyon147/laravel-shopify/wiki/Authentication-Process
It says for SPA
But when you specify SHOPIFY_FRONTEND_TYPE=SPA this prevents token_handler.blade.php being included which is where window.sessionToken is defined and axios (along with others) have their headers adjusted.
The interceptor example is also out of date, window['app-bridge-app'] doesn't exist.
Beta Was this translation helpful? Give feedback.
All reactions