-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
401 Unauthorized error when creating alias via web UI (works via browser extension) #163
Comments
I solved the problem by following the steps in this issue #150 and adding the env var to the .env file:
Because I use a custom port (not 8000 but 8111) I think the change @willbrowningme made perhaps doesn't work for me. Any way, I don't mind adding the env var. |
My Anonaddy instance is behind a nginx reverse proxy. I just had to set |
Mine also behind rev proxy. |
Nono you're right. I just added the comment because I found the comments above a bit confusing and wanted to make it easier for anyone else reading through this issue. |
Behaviour
Via the Web UI I get a 401 Unauthorized error in the console, and a pop-up error message in the browser, whenever trying to create aliases, recipients, domains, usernames.
I can update my password, and generate an API token.
Via the browser extension on FireFox I can create aliases.
Any POST interaction with /api/v1/ results in a 401 error.
Steps to reproduce this issue
Expected behaviour
Aliases get created
Actual behaviour
The POST /api/v1/aliases endpoint gives a 401 error
Configuration
20.10.17, build 100c701
1.29.2, build 5becea4c
MacOS
Darwin hostname.local 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:22 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T6000 arm64
docker-compose.yml
,.env
, ...anonaddy.env
docker compose
Notes
The text was updated successfully, but these errors were encountered: