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

Bug: onAuthRequired to/from are backwards #22

Open
mattstrayer opened this issue Oct 10, 2018 · 0 comments
Open

Bug: onAuthRequired to/from are backwards #22

mattstrayer opened this issue Oct 10, 2018 · 0 comments

Comments

@mattstrayer
Copy link

The onAuthRequired function has the to and from variables referenced backwards. Vue Router middleware conforms to the (to, from next) pattern.
https://router.vuejs.org/guide/advanced/navigation-guards.html#global-guards

const onAuthRequired = async (from, to, next) => {

mattstrayer pushed a commit to mattstrayer/samples-js-vue that referenced this issue Oct 18, 2018
The to/from variables on the onAuthRequired function were backwards.

Resolves: okta#22
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

No branches or pull requests

1 participant