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

Help , VUE SPA #52

Open
cristhian199228 opened this issue Aug 10, 2021 · 3 comments
Open

Help , VUE SPA #52

cristhian199228 opened this issue Aug 10, 2021 · 3 comments

Comments

@cristhian199228
Copy link

Hi , can you help me? how integrate this package with vue spa frontend .

Thx

@danieltjewett
Copy link
Contributor

The instructions are pretty self-explanatory, but happy to help if there is something specific you are stuck on. For a single page app, it would simply creating a route in the web.php file (most likely /), and adding the Azure middleware to that route (step 9 of https://github.com/rootinc/laravel-azure-middleware#normal-installation or laravel example: https://laravel.com/docs/8.x/routing#route-group-middleware)

@AarRidho
Copy link

Hello @danieltjewett, this is great library!

will this package check for Authorization Bearer [azure-token] header on API request if I put the Azure Middleware on the API Route?

@danieltjewett
Copy link
Contributor

The package currently does not check the header for Authorization Bearer. We currently are storing the tokens in session: https://github.com/rootinc/laravel-azure-middleware/blob/master/src/Azure.php#L33. We're open to a PR though that adds this feature!

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

3 participants