-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Basic http auth #1126
Comments
Hi. Which version are you currently using? Also would please provide more details about use case? |
@pi0 version 1.0.0 alpha.3 . I have another app using version 0.10.5. This will help us to create protected pages quickly without setting up session/token based authentication. |
I've provided a minimal example for basic auth using nuxt 1.x But consider that this is not enough. Client side routes should be protected too using middleware. (For example when navigate from / => /about) PS I've closed this as a more general auth solution is coming after stable 1 release :) |
@pi0 Thanks for the example. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
I would like to add basic http authentication to a subset of routes.
For eg: /app/* should have basic http authentication.
I couldn't find an example.
Pls help
The text was updated successfully, but these errors were encountered: