Skip to content

How to migrate to the new auth? #18

Description

@sillycube

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:

  1. How can I reuse the new session token auth? Copy shopify_app to my project and reuse it?
  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions