2FAuth icon indicating copy to clipboard operation
2FAuth copied to clipboard

403 Forbidden {message: "unauthorized"}

Open guille-frank opened this issue 1 year ago • 1 comments

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

guille-frank avatar Feb 19 '24 02:02 guille-frank

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

Bubka avatar Feb 19 '24 07:02 Bubka

web-guard

guille-frank avatar Feb 19 '24 17:02 guille-frank

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 avatar Feb 20 '24 10:02 Bubka