-
Notifications
You must be signed in to change notification settings - Fork 225
Use unified admin store domain for non-1P dev sessions #6824
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
0ceb677 to
e703e55
Compare
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success3718 tests passing in 1438 suites. Report generated by 🧪jest coverage report action from e703e55 |
|
We detected some changes at Caution DO NOT create changesets for features which you do not wish to be included in the public changelog of the next CLI release. |

WHY are these changes introduced?
Updates the app preview URL shown to 3P developers during
shopify app devto use the unified admin URL format instead of the legacy OAuth redirect URL.WHAT is this pull request doing?
Changes the preview URL for 3P developers from the OAuth redirect URL to the unified admin URL format.
Before (original):
appPreviewUrlpreviewURL(shown to user)https://{storeFqdn}/admin/oauth/redirect_from_cli?client_id={apiKey}{proxyUrl}/extensions/dev-consolehttps://{storeFqdn}/admin/oauth/redirect_from_cli?client_id={apiKey}appPreviewUrlhttps://{storeFqdn}/admin/oauth/redirect_from_cli?client_id={apiKey}appPreviewUrlAfter (this PR):
appPreviewUrlpreviewURL(shown to user)https://{storeFqdn}/admin/oauth/redirect_from_cli?client_id={apiKey}{proxyUrl}/extensions/dev-consolehttps://{storeFqdn}/admin/oauth/redirect_from_cli?client_id={apiKey}appPreviewUrlhttps://admin.shopify.com/store/{storeName}/apps/{apiKey}appPreviewUrlThe only change: 3P developers now get the unified admin URL instead of the OAuth redirect URL.
How to test your changes?
shopify app devas a 3P developerhttps://admin.shopify.com/store/{storeName}/apps/{apiKey}shopify app devas a 1P developer (withSHOPIFY_CLI_1P_DEV=1)Measuring impact
How do we know this change was effective? Please choose one:
Checklist