Skip to content

Credentials login using Personal Access Tokens ? #11

@ameeno

Description

@ameeno

I am unable to use this node because my Firefly III instance is configured behind an external authentication provider (Authelia/Authentik) using the environment variable AUTHENTICATION_GUARD=remote_user_guard.

When Firefly III is running in this mode, the internal OAuth server (Laravel Passport) is technically incompatible because it expects a StatefulGuard. Attempting to use the OAuth flow results in a fatal error on the Firefly side:
Argument #2 ($guard) must be of type

'Illuminate\Contracts\Auth\StatefulGuard, FireflyIII\Support\Authentication\RemoteUserGuard'

given

Please add a simple Personal Access Token (PAT) credential option to the node.
This credential type should simply take a long-string Access Token and inject it into the request headers, bypassing the OAuth handshake entirely:

'Authorization: Bearer <YOUR_PAT_TOKEN>'

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions