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

Support a guard without calling createAuthGuard #80

Merged
merged 2 commits into from
Mar 2, 2022

Conversation

frederikprijck
Copy link
Member

@frederikprijck frederikprijck commented Mar 1, 2022

Changes

Adds the possibility to use a Guard without having to call createAuthGuard. This requires the exposure of our API through an exported object, as we have no access to the Vue App or inject.

The consequence here is that it won't work with multiple Vue applications on a single page, assuming they are using a different Domain and/or Client ID.

References

#73

Testing

  • This change adds unit test coverage
  • This change has been tested on the latest version of the platform/language

Checklist

@frederikprijck frederikprijck marked this pull request as ready for review March 1, 2022 14:42
@frederikprijck frederikprijck requested a review from a team as a code owner March 1, 2022 14:42
@frederikprijck frederikprijck added CH: Added PR is adding feature or functionality review:medium Medium review labels Mar 1, 2022
@stevehobbsdev
Copy link
Contributor

The Browserstack job doesn't seem to be running properly. If you look on CircleCI, the job is there but doesn't seem to run nor can you click through to it to see details.

@frederikprijck frederikprijck merged commit 8a44d47 into main Mar 2, 2022
@frederikprijck frederikprijck deleted the fix/guard-app branch March 2, 2022 11:08
@frederikprijck frederikprijck mentioned this pull request Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CH: Added PR is adding feature or functionality review:medium Medium review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants