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

401 Unauthorized #222

Closed
art-n opened this issue Oct 16, 2023 · 4 comments
Closed

401 Unauthorized #222

art-n opened this issue Oct 16, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@art-n
Copy link

art-n commented Oct 16, 2023

Description

After logged in as admin, got a 401 unauthorized from /api/account.

Account page keeps loading and can't edit any account settings.

Any idea ? Cheers!

Screenshots

No response

Additional information

No response

@art-n art-n added the bug Something isn't working label Oct 16, 2023
@bjarneo
Copy link
Member

bjarneo commented Oct 20, 2023

@art-n Hi,

Can you access the sqlite database and verify your admin account is there as an admin, and, if you have set any restrictions in the settings page?

@art-n
Copy link
Author

art-n commented Oct 20, 2023

Hello @bjarneo,

I haven't changed any settings.

Here's the result of the user table :
d9ca06ed-0ea6-4afa-85e3-a6995610175f|root|email_replaced|pass_replaced|admin|1

Seems good right ?

@art-n
Copy link
Author

art-n commented Oct 20, 2023

Adding SECRET_HOST did the trick 🤦🏼‍♂️

Thank you for creating this app btw !

@bjarneo
Copy link
Member

bjarneo commented Oct 21, 2023

Awesome that you figured it out :)

Thank you!

@bjarneo bjarneo closed this as completed Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants