-
Notifications
You must be signed in to change notification settings - Fork 699
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
Update token exchange and secret rotation documentation #1902
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Rachel!! ❤️
README.md
Outdated
you'll need to create and configure a custom PostAuthenticateTasks class to run these tasks after the token exchange. The original | ||
OAuth CallbackController will not be triggered anymore. See [Post Authenticate Tasks documentation](/docs/shopify_app/authentication.md#post-authenticate-tasks) for more information. | ||
4. Enjoy a smoother and faster app installation process. | ||
4. Make sure your `embedded_app` layout is correct. If your app has any Controllers which include `ShopifyApp::EnsureInstalled`, they will now also include `ShopifyApp::EmbeddedApp` concern. See [this concern's documentation](/docs/shopify_app/controller-concerns.md#embeddedapp) for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: should we call out what the effects of having it would be in this case? Or do we do that in the docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs around EmbeddedApp
detail everything it does, but I'll explicitly add that the layout file the controller will look for will change 👍
72d1cca
to
763e2c9
Compare
763e2c9
to
a37bb9b
Compare
What this PR does
This PR adds information to the Token Exchange section of the documentation about changes that turning on
new_embedded_auth_strategy
will have on theShopifyApp::EnsureInstalled
concern.It also adds a new block about correctly setting up
ShopifyAPI::Context
when performing secret rotation.Things to focus on
Are the additions in the best part of the documentation? Any suggestions to wording?
Checklist
Before submitting the PR, please consider if any of the following are needed:
CHANGELOG.md
if the changes would impact usersREADME.md
, if appropriate./docs
, if necessarycloses https://github.com/Shopify/develop-app-runtime-primitives/issues/468
part of https://github.com/Shopify/develop-app-runtime-primitives/issues/467