Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return online and offline tokens in a single call #113

Open
uurcank opened this issue Jul 27, 2022 · 1 comment
Open

Return online and offline tokens in a single call #113

uurcank opened this issue Jul 27, 2022 · 1 comment

Comments

@uurcank
Copy link

uurcank commented Jul 27, 2022

Many apps support multiple user accounts, but they still need to make calls to the store in the background using an offline token.

Shopify's Oauth requires two separate calls to obtain different tokens.
This is an issue that prolongs the authentication for many Shopify apps and negatively impact merchant experience.

If the user has the required permissions, the callback can include the offline token as well as the online token. This way apps can get all the information in a single call. This will reduce the auth time significantly.

@uurcank
Copy link
Author

uurcank commented Nov 2, 2022

@mkevinosullivan just a heads up. Is there anything in the roadmap to fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant