Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel Sanctum Spa Auth Provider #1742

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Laravel Sanctum Spa Auth Provider #1742

wants to merge 3 commits into from

Conversation

qazz92
Copy link

@qazz92 qazz92 commented Aug 28, 2020

in config/api.php

'auth' => [ 'sanctum' => \Dingo\Api\Auth\Provider\SanctumSPA::class ],

@qazz92 qazz92 changed the title Laravel Sanctum For Spa Provider Laravel Sanctum Provider For Spa Aug 28, 2020
@qazz92 qazz92 changed the title Laravel Sanctum Provider For Spa Laravel Sanctum Spa Provider Aug 28, 2020
@qazz92 qazz92 changed the title Laravel Sanctum Spa Provider Laravel Sanctum Spa Auth Provider Aug 28, 2020
@specialtactics
Copy link
Member

Hey thanks @qazz92 - would you mind just also listing some install instructions? I see there is that middleware in api.php config, is there anything else if someone wants to use it?

@danieltharp
Copy link

While this is a needed enhancement for the package I personally don't like some of the details of implementation, like commented code in the config/api.php file instead of adding it to the wiki as documentation. If this omitted that and the unnecessary change to the composer.json file and added the relevant info to the Wiki, it would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants