Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

feat: expose token validation #367

Merged
merged 4 commits into from
Nov 27, 2020
Merged

Conversation

samblacklock
Copy link
Collaborator

Type

  • Feature

    Implements a new feature

Description

A few things we might need to make use of:

  • Expose client side token validation logic so it can be checked in app
  • Expose Me endpoints explicitly
  • Add the ability to disable automatic cart creation on load
  • Add the ability to disable automatic re-auth on requests
  • Add some missing tests

Dependencies

Will relate to work in https://github.com/moltin/react-dashboard/pull/224

@samblacklock samblacklock requested a review from a user November 26, 2020 16:03
@@ -13,7 +13,9 @@ class Config {
storage,
custom_fetch,
custom_authenticator,
headers
headers,
disableCart,
Copy link

Choose a reason for hiding this comment

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

Nice!

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

lgtm

@samblacklock samblacklock merged commit a271011 into master Nov 27, 2020
@samblacklock samblacklock deleted the feat/expose-token-validation branch November 27, 2020 11:17
@shaunmaharaj
Copy link
Contributor

🎉 This PR is included in version 4.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

2 participants