Closed antoinekh closed 4 months ago
Self-hosted
4.0.5
3.10
This is similar to this BUG from the past for API auth https://github.com/netbox-community/netbox/issues/724
Able to go to /graphql to be able to make request with auth with TOKEN
Redirect to login page
<!DOCTYPE html> <html lang="en" data-netbox-url-name="login" data-netbox-base-path="" > <head> <meta charset="UTF-8" /> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width, viewport-fit=cover" /> <meta name="htmx-config" content='{"scrollBehavior": "auto"}'> <title>Home | NetBox</title>
It was a mistake in my environment. It’s already implemented with middleware and settings.AUTH_EXEMPT_PATHS
sorry for the lost of time
Deployment Type
Self-hosted
NetBox Version
4.0.5
Python Version
3.10
Steps to Reproduce
This is similar to this BUG from the past for API auth https://github.com/netbox-community/netbox/issues/724
Expected Behavior
Able to go to /graphql to be able to make request with auth with TOKEN
Observed Behavior
Redirect to login page