Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Solving unauthorized error when using sanctum #50

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

Open
countradooku wants to merge 1 commit into nuxt-community:main
base: main
Choose a base branch
Loading
from countradooku:main

Conversation

Copy link
Contributor

@countradooku countradooku commented Apr 7, 2021
edited
Loading

No description provided.

Solving Unauthorized error
Copy link

codecov bot commented Apr 7, 2021
edited
Loading

Codecov Report

Merging #50 (1fe4e08) into main (7f49095) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@ Coverage Diff @@
## main #50 +/- ##
=========================================
 Coverage 100.00% 100.00% 
=========================================
 Files 1 1 
 Lines 19 19 
 Branches 6 6 
=========================================
 Hits 19 19 

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f49095...1fe4e08. Read the comment docs.

@countradooku countradooku changed the title (削除) Update echo.ts (削除ここまで) (追記) Solving unauthorized error when using sanctum (追記ここまで) Apr 7, 2021
Copy link
Member

Hi @radudiaconu0
Laravel sanctum works with header
JavaScript HTTP client sends the value of the XSRF-TOKEN cookie in the X-XSRF-TOKEN header.
https://laravel.com/docs/8.x/sanctum#logging-in

Copy link
Contributor Author

countradooku commented Apr 7, 2021
edited
Loading

@ricardogobbosouza Ah ok. I understand. But I don't get why I get unauthenticated error

Copy link
Contributor Author

@ricardogobbosouza ok now i get pusher not defined error lol

Copy link
Member

Hi @radudiaconu0
Try ^2.0.0-alpha.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /