Skip to content

Instantly share code, notes, and snippets.

View jamiemtdwyer's full-sized avatar

Jamie Dwyer jamiemtdwyer

  • T.O.
View GitHub Profile
from flask import Flask, redirect, request, session, url_for
import os
import shopify
import uuid
app = Flask(__name__)
# This is the secret key for the Flask session - not to be confused with your
# API credentials from Shopify
app.config['SECRET_KEY'] = os.getenv('SESSION_KEY') or \
<script>
function() {}
</script>