How to migrate to the new auth?
sillycube opened this issue · 0 comments
sillycube commented
Hi,
I tried to run this repo and it was working quite well. But I am struggling with migration issues and whether to continue with the embedded app or standalone app.
I have an existing Shopify app codebase of Django 2.2 (Python 3.7.9) with OAuth (no app bridge). My questions are:
- How can I reuse the new session token auth? Copy shopify_app to my project and reuse it?
- By default, Django stores session id in a cookie. My sessions are database-backed sessions and I was using a lot of request.session['key'] in my code. If 3rd-party cookies are going to be banned by Chrome, the sessions will fail in embedded apps. How do you handle it here?