Shopify/omniauth-shopify-oauth2

Specify online access in params

adambedford opened this issue · 0 comments

I'm working through a situation that I think requires getting both online and offline access. My understanding is that, in order for a public app to be approved, it must support a 'sign up' flow directly from the App Store, which would suggest online access so I can get the user's name and email to create an account for them. Moving forward, the app will make requests to Shopify in the background (without a user session), so I think should use an offline token.

Therefore, I'd like to fetch an online token to facilitate registration and subsequently an offline token for data syncing. Can this library support that? i.e. Passing per_user_permissions at request time?