Auth guard [api] #5905
Answered
by
jasonvarga
HazemMohamed252
asked this question in
Q&A
Auth guard [api]
#5905
-
How to define auth guard [api] to be able to use Rest APIs and where to put it ? Any help please ? |
Beta Was this translation helpful? Give feedback.
Answered by
jasonvarga
Apr 25, 2022
Replies: 1 comment 1 reply
-
Put it in your |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
HazemMohamed252
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put it in your
config/auth.php
file.https://github.com/statamic/statamic/blob/1733fea5ff4855d72ca2a163d155f9a23d6f833a/config/auth.php#L38-L43
https://laravel.com/docs/9.x/authentication