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

403 Forbidden {message: "unauthorized"} #305

Closed
1 task
guille-frank opened this issue Feb 19, 2024 · 3 comments
Closed
1 task

403 Forbidden {message: "unauthorized"} #305

guille-frank opened this issue Feb 19, 2024 · 3 comments
Labels
bug Something isn't working fixed The issue is fixed (in a coming release)
Milestone

Comments

@guille-frank
Copy link

guille-frank commented Feb 19, 2024

Version

lastest

Details & Steps to reproduce

I installed what was necessary to be able to use 2FAuth, but when I try to see a key it tells me "Unauthorized" or "Unauthenticated"

Expectation

2FA code would be expected to be thrown

Error & Logs

[2024-02-19 01:46:29] local.NOTICE: App setting 'lastRadarScan' set to 1708307189  
[2024-02-19 01:46:29] local.NOTICE: App setting 'latestRelease' reset to default  
[2024-02-19 01:46:55] local.NOTICE: User ID #1 set as administrator  
[2024-02-19 01:47:20] local.NOTICE: User ID #1 cannot view twofaccount ID #1  
[2024-02-19 01:49:33] local.DEBUG: ReleaseRadarActivated event dispatched  
[2024-02-19 01:49:39] local.NOTICE: User ID #1 cannot view twofaccount ID #1  
[2024-02-19 01:52:27] local.NOTICE: User ID #1 cannot view twofaccount ID #1  
[2024-02-19 01:56:14] local.DEBUG: ReleaseRadarActivated event dispatched  
[2024-02-19 01:56:15] local.DEBUG: ReleaseRadarActivated event dispatched  
[2024-02-19 01:56:18] local.NOTICE: User ID #1 cannot view twofaccount ID #1  
[2024-02-19 01:56:20] local.NOTICE: User ID #1 cannot view twofaccount ID #1  
[2024-02-19 01:56:56] local.NOTICE: User ID #1 cannot view twofaccount ID #1  
[2024-02-19 02:05:53] local.DEBUG: ReleaseRadarActivated event dispatched  
[2024-02-19 02:05:55] local.NOTICE: User ID #1 cannot view twofaccount ID #1  
[2024-02-19 02:05:59] local.NOTICE: User ID #1 cannot view twofaccount ID #1  
[2024-02-19 02:06:00] local.DEBUG: ReleaseRadarActivated event dispatched  
[2024-02-19 02:06:01] local.NOTICE: User ID #1 cannot view twofaccount ID #1  
[2024-02-19 02:06:02] local.NOTICE: User ID #1 cannot view twofaccount ID #1  
[2024-02-19 02:07:38] local.DEBUG: ReleaseRadarActivated event dispatched  
[2024-02-19 02:07:43] local.NOTICE: User ID #1 cannot view twofaccount ID #1  
[2024-02-19 02:07:53] local.DEBUG: ReleaseRadarActivated event dispatched  
[2024-02-19 02:07:55] local.NOTICE: User ID #1 cannot view twofaccount ID #1

Execution environment

PHP 8.1 and Apache

Containerization

  • Docker

Additional information

No response

@Bubka
Copy link
Owner

Bubka commented Feb 19, 2024

Hi,
What is the authentication guard in use? web-guard? reverse-proxy-guard?

@guille-frank
Copy link
Author

web-guard

@Bubka
Copy link
Owner

Bubka commented Feb 20, 2024

Can you check the db record for twofaccount with id 1? You will find it in the twofaccounts db table. What is the value of its user_id column?
How many users are registered on your instance?

@Bubka Bubka added the bug Something isn't working label Mar 14, 2024
@Bubka Bubka added this to the 5.1.0 milestone Mar 14, 2024
@Bubka Bubka added the fixed The issue is fixed (in a coming release) label Mar 14, 2024
@Bubka Bubka closed this as completed in e956959 Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed The issue is fixed (in a coming release)
Projects
Status: Released
Development

No branches or pull requests

2 participants