Skip to content

Restore 7.6 feature of configurable login route #432

@Tamrael

Description

@Tamrael

Checklist

Laravel Version

10

SDK Version

7.8

PHP Version

PHP 8.2

Description

On 7.6 we could configure our own route for login:

->to(config('auth0.routes.login', 'login')); // @phpstan-ignore-line

With 7.8 that config option was removed:

->to('/login'); // @phpstan-ignore-line

as our target system is using "/auth/login" instead of "/login" we NEED this configuration variable.
We could duplicate the whole middleware but we would really like to just use the base auth0 file.
Can we have the configuration back please?

How can we reproduce this issue?

try to use any other path for the login routes other then default "/login"

Metadata

Metadata

Assignees

Labels

Scope: ImprovementProposed improvements, or feature additions.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions