Skip to content

Commit

Permalink
[SDK-3720] Fix php artisan vendor:publish command
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Oct 19, 2022
1 parent e3b5417 commit 43f72d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public function register(): self

public function boot(\Illuminate\Routing\Router $router, \Illuminate\Auth\AuthManager $auth): self
{
$this->publishes([implode(DIRECTORY_SEPARATOR, [__DIR__, '..', 'config', 'auth0.php']) => config_path('auth0.php')], 'auth0-config');

$auth->extend('auth0', static fn (): Guard => new Guard());
$auth->provider('auth0', static fn (): Provider => new Provider());

Expand Down

0 comments on commit 43f72d7

Please sign in to comment.