You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have the newest Nuxt (v3.14.159) and nuxt-security (v2.0.0) packages .
When I call useFetch to a server route, in a page, where SWR is enabled, I get a 401 because of the http basic auth. When I manually include the headers in the request it works, but what is the Nuxt/nuxt-security intended way to do this?
Thank you and kind regards
The text was updated successfully, but these errors were encountered:
The main intention behind Basic Auth in this module is to block accessing certain page/subpages but it also works for all server endpoints which does not render any route.
Hello, I have the newest Nuxt (v3.14.159) and nuxt-security (v2.0.0) packages .
When I call
useFetch
to a server route, in a page, where SWR is enabled, I get a 401 because of the http basic auth. When I manually include the headers in the request it works, but what is the Nuxt/nuxt-security intended way to do this?Thank you and kind regards
The text was updated successfully, but these errors were encountered: