Skip to content

When using Laravel Passport the storage is overridden to /tmp before the keys are loaded #144

@olliecamp

Description

@olliecamp

Having migrated from bref v1 to v2 I found an edge case where if using Laravel Passport the storage area is changed to the /tmp directory by laravel bridge before the passport keys have been loaded.

This was disucssed on slack with @mnapoli.

I have solved this for now by adding the following to the AuthServiceProvider in the boot function.

Passport::loadKeysFrom('directory of keys);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions