BUG_Unable to Sign In #89
-
Describe the bug When trying to authenticate via the app, it redirects to KeyCloak as it should, I sign in, and FireFly asks me to authorize Abacus. When I do, Abacus returns the following error: "Failed to get accessToken, JSON Parse error: Unexpected identifier "Authentication"" Not sure if there's anything that can be done app-side to fix by any chance, but my FireFly instance is behind KeyCloak for added security and for SSO, so I don't really want to remove the forwardauth middleware and revert to username/password authentication for web access. To Reproduce Expected behavior Smartphone (please complete the following information):
|
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 15 replies
-
Similar issue here, but with Authelia. Content of Log: Firefly III v5.7.15 ran into an error: Laravel\Passport\Http\Controllers\AuthorizationController::__construct(): Argument #3 ($guard) must be of type Illuminate\Contracts\Auth\StatefulGuard, FireflyIII\Support\Authentication\RemoteUserGuard given. The error was of type "TypeError". The error occurred on/at: Thu, 24 Nov 2022 12:45:29 -0600. This error occurred in file "/var/www/html/vendor/laravel/passport/src/Http/Controllers/AuthorizationController.php" on line 52 with code 0. There was no user logged in for this error or no user was detected. The IP address related to this error is: REDACTED (info) The full stacktrace is below. If you think this is a bug in Firefly III, you can forward this message to [email protected]. This can help fix the bug you just encountered. If you prefer, you can also open a new issue on GitHub. The full stacktrace is below:
The following headers may also be relevant:
|
Beta Was this translation helpful? Give feedback.
-
Hi @HrBingR & @firestrife23, |
Beta Was this translation helpful? Give feedback.
-
@victorbalssa Yup, no dice. |
Beta Was this translation helpful? Give feedback.
-
Seeing the same issue with Authentik. Looks to be due to firefly-iii/firefly-iii#6619 |
Beta Was this translation helpful? Give feedback.
-
Got same issue with latest server and app version |
Beta Was this translation helpful? Give feedback.
-
Found the reason for my issue! If the url contains So I just changed the my server url to |
Beta Was this translation helpful? Give feedback.
-
Still experiencing issues signing in here, though the error has changed: "Failed to get accessToken, JSON Parse error: Unrecognized token '<'" |
Beta Was this translation helpful? Give feedback.
-
Do you still experience this issue with the last version |
Beta Was this translation helpful? Give feedback.
-
I think this is more of a Firefly issue rather that Abacus. I have the same setup as @firestrife23. Firefly dev mentioned that it's something he cannot fix and suggest to using Personal Access Tokens instead. Any change that that will come to Abacus? |
Beta Was this translation helpful? Give feedback.
-
Good catch @supermamon, |
Beta Was this translation helpful? Give feedback.
-
@HrBingR |
Beta Was this translation helpful? Give feedback.
@HrBingR
@eugene-davis
@firestrife23
A new OTA update has been released: 0.6.2 with the Personal Access Token as a authentication option.
Let me know if that solves this issue.