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

Ensure offline and online tokens are fetched via available auth hash #1151

Merged
merged 1 commit into from
Jan 20, 2021

Conversation

rezaansyed
Copy link
Contributor

@rezaansyed rezaansyed commented Jan 19, 2021

Fixes #1128

We have noticed that the callback controller was fetching a token based on the session object for post perform jobs. This is not necessary as the offline and/or online tokens can be retrieved via the auth hash.

Before submitting the PR, please consider if any of the following are needed:

  • Update CHANGELOG.md if the changes would impact users
  • Update README.md, if appropriate.
  • Update any relevant pages in docs/, if necessary
  • For security fixes, the Disclosure Policy must be followed.

@resistorsoftware
Copy link

Thanks for this. Took care of the problem nicely.

Copy link
Contributor

@tanema tanema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

Copy link
Contributor

@greatestape greatestape left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rezaansyed rezaansyed merged commit 88f42f0 into master Jan 20, 2021
@rezaansyed rezaansyed deleted the fix-failing-post-perform-jobs branch January 20, 2021 14:54
@rezaansyed rezaansyed mentioned this pull request Jan 20, 2021
4 tasks
@rezaansyed rezaansyed temporarily deployed to rubygems January 20, 2021 16:17 Inactive
macdonaldr93 pushed a commit to obsidian-apps/shopify_app that referenced this pull request Mar 26, 2021
…-jobs

Ensure offline and online tokens are fetched via available auth hash
macdonaldr93 added a commit to obsidian-apps/shopify_app that referenced this pull request Mar 26, 2021
…-jobs (#1)

Ensure offline and online tokens are fetched via available auth hash

Co-authored-by: rezaansyed <60748788+rezaansyed@users.noreply.github.com>
macdonaldr93 pushed a commit to obsidian-apps/shopify_app that referenced this pull request Mar 26, 2021
…-jobs

Ensure offline and online tokens are fetched via available auth hash
macdonaldr93 pushed a commit to obsidian-apps/shopify_app that referenced this pull request Mar 26, 2021
…-jobs

Ensure offline and online tokens are fetched via available auth hash
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

Successfully merging this pull request may close these issues.

Configuring the script tags is causing errors
5 participants