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

feat: basic auth exclude routes option #145

Merged
merged 1 commit into from May 5, 2023

Conversation

alexbidenko
Copy link
Contributor

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

New exclude option for basic auth feature. Exclude option can enable request to some routes through basic auth middleware.
For example, to allow access to /api routes. Also access to /api routes is required for using basic auth with nuxt-content. More information is in issue below.

Resolves: #144

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

@vercel
Copy link

vercel bot commented Apr 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nuxt-security ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2023 3:28pm

@Baroshem
Copy link
Owner

Baroshem commented May 5, 2023

Hey Alex!

Thanks for this PR. I am now back to work and I will review this PR and probably merge it today. I am aiming to release a new version of the module next week with this change :)

@Baroshem Baroshem merged commit e4b3729 into Baroshem:main May 5, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

Basic auth does not work with nuxt-content
2 participants