Information on laravel APILaravel Passport vs JWT vs Oauth2 vs Auth0Basic Auth after separating API From Laravel Web AppAuthorize PHP application permanently to make requests to JWT auth protected APIPassport Laravel Rest API Auth With Normal DesignBest practices in a laravel & vuejs application authentication and routingLaravel 5.5 API for 1st party apps onlyUse firebase token authentication with laravel APIHow to verify laravel passport api token in node / socket application?laravel custom authentication based on API response callHow to persist authentification data in Vue JS when consuming my own Laravel API
More output neurons than labels?
Did Voldemort kill his father before finding out about Horcruxes?
Sankhara meditation
What powers the air required for pneumatic brakes in aircraft?
Why should I cook the flour first when making bechamel sauce?
How to say no to more work as a PhD student so I can graduate
Is it rude to refer to janitors as 'floor people'?
Do I need a 50/60Hz notch filter for battery powered devices?
Alternator dying so junk car?
Why are road bikes (not time trial bikes) used in many triathlons?
When does Fisher's "go get more data" approach make sense?
How Can I Process Untrusted Data Sources Securely?
Does the Intel 8085 CPU use real memory addresses?
Finding the package which provides a given command
Why does FFmpeg choose 10+20+20 ms instead of an even 16 ms for 60 fps GIF images?
Cauchy reals and Dedekind reals satisfy "the same mathematical theorems"
Can a pizza stone be fixed after soap has been used to clean it?
Is straight-up writing someone's opinions telling?
What "fuel more powerful than anything the West (had) in stock" put Laika in orbit aboard Sputnik 2?
FPGA CPU's, how to find the max speed?
What happens if there is no space for entry stamp in the passport for US visa?
What is the goal and toolset of philosophy?
Why did Steve Rogers choose this character in Endgame?
Returning strings showing all vertices from all polygons in shapefile using ArcPy?
Information on laravel API
Laravel Passport vs JWT vs Oauth2 vs Auth0Basic Auth after separating API From Laravel Web AppAuthorize PHP application permanently to make requests to JWT auth protected APIPassport Laravel Rest API Auth With Normal DesignBest practices in a laravel & vuejs application authentication and routingLaravel 5.5 API for 1st party apps onlyUse firebase token authentication with laravel APIHow to verify laravel passport api token in node / socket application?laravel custom authentication based on API response callHow to persist authentification data in Vue JS when consuming my own Laravel API
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I need clear information about laravel API.
I've been reading lots of articles about laravel API. Beside choosing between JWT and laravel-passport—which is a whole different level of confusion—I need to get basic information about laravel API to make it clearer to me what's what.
Questions
- Why does laravel passport need a database (what's the usage of those tables)?
- If I change auth driver to passport in authProvider file, and not use api, would it affect my normal auth behavior?
- If i use API (passport) do I have to use laravel-echo or any js library?
laravel api
add a comment |
I need clear information about laravel API.
I've been reading lots of articles about laravel API. Beside choosing between JWT and laravel-passport—which is a whole different level of confusion—I need to get basic information about laravel API to make it clearer to me what's what.
Questions
- Why does laravel passport need a database (what's the usage of those tables)?
- If I change auth driver to passport in authProvider file, and not use api, would it affect my normal auth behavior?
- If i use API (passport) do I have to use laravel-echo or any js library?
laravel api
2
Laravel passport uses JWT
– pr1nc3
Mar 26 at 8:18
@pr1nc3 thwn why some people install jwt instead of passport?
– mafortis
Mar 26 at 9:51
1
You said you read a lot of articles that should be the first thing that you faced. stackoverflow.com/questions/47745884/…
– pr1nc3
Mar 26 at 9:53
@pr1nc3 that's i should read on pc, thank you
– mafortis
Mar 26 at 9:55
add a comment |
I need clear information about laravel API.
I've been reading lots of articles about laravel API. Beside choosing between JWT and laravel-passport—which is a whole different level of confusion—I need to get basic information about laravel API to make it clearer to me what's what.
Questions
- Why does laravel passport need a database (what's the usage of those tables)?
- If I change auth driver to passport in authProvider file, and not use api, would it affect my normal auth behavior?
- If i use API (passport) do I have to use laravel-echo or any js library?
laravel api
I need clear information about laravel API.
I've been reading lots of articles about laravel API. Beside choosing between JWT and laravel-passport—which is a whole different level of confusion—I need to get basic information about laravel API to make it clearer to me what's what.
Questions
- Why does laravel passport need a database (what's the usage of those tables)?
- If I change auth driver to passport in authProvider file, and not use api, would it affect my normal auth behavior?
- If i use API (passport) do I have to use laravel-echo or any js library?
laravel api
laravel api
edited May 10 at 13:28
rrrafalsz
1721 silver badge15 bronze badges
1721 silver badge15 bronze badges
asked Mar 26 at 8:14
mafortismafortis
1,35615 silver badges56 bronze badges
1,35615 silver badges56 bronze badges
2
Laravel passport uses JWT
– pr1nc3
Mar 26 at 8:18
@pr1nc3 thwn why some people install jwt instead of passport?
– mafortis
Mar 26 at 9:51
1
You said you read a lot of articles that should be the first thing that you faced. stackoverflow.com/questions/47745884/…
– pr1nc3
Mar 26 at 9:53
@pr1nc3 that's i should read on pc, thank you
– mafortis
Mar 26 at 9:55
add a comment |
2
Laravel passport uses JWT
– pr1nc3
Mar 26 at 8:18
@pr1nc3 thwn why some people install jwt instead of passport?
– mafortis
Mar 26 at 9:51
1
You said you read a lot of articles that should be the first thing that you faced. stackoverflow.com/questions/47745884/…
– pr1nc3
Mar 26 at 9:53
@pr1nc3 that's i should read on pc, thank you
– mafortis
Mar 26 at 9:55
2
2
Laravel passport uses JWT
– pr1nc3
Mar 26 at 8:18
Laravel passport uses JWT
– pr1nc3
Mar 26 at 8:18
@pr1nc3 thwn why some people install jwt instead of passport?
– mafortis
Mar 26 at 9:51
@pr1nc3 thwn why some people install jwt instead of passport?
– mafortis
Mar 26 at 9:51
1
1
You said you read a lot of articles that should be the first thing that you faced. stackoverflow.com/questions/47745884/…
– pr1nc3
Mar 26 at 9:53
You said you read a lot of articles that should be the first thing that you faced. stackoverflow.com/questions/47745884/…
– pr1nc3
Mar 26 at 9:53
@pr1nc3 that's i should read on pc, thank you
– mafortis
Mar 26 at 9:55
@pr1nc3 that's i should read on pc, thank you
– mafortis
Mar 26 at 9:55
add a comment |
1 Answer
1
active
oldest
votes
Laravel passport needs database to store tokens that are generated and used during authorization. Also, needs to bind these tokens to a specific users.
There are actually 5 new tables that are generated from migrations when installing Laravel Passport:
https://github.com/laravel/passport/tree/7.0/database/migrations
About using Laravel Echo or any js library is optional, and Laravel Passport does not require any of these.
See the Laravel Passport composer.json on requirements and other dependencies:
https://github.com/laravel/passport/blob/7.0/composer.json
1
And just a small add laravel JWT(Tymon) holds user data to verify and is part of the Authorization header. But the token is generated and passed as a header + has expiration time but is not stored anywhere (unless you want to but there is no reason)
– pr1nc3
Mar 26 at 8:20
Thank you......
– mafortis
Mar 26 at 9:56
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55352520%2finformation-on-laravel-api%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Laravel passport needs database to store tokens that are generated and used during authorization. Also, needs to bind these tokens to a specific users.
There are actually 5 new tables that are generated from migrations when installing Laravel Passport:
https://github.com/laravel/passport/tree/7.0/database/migrations
About using Laravel Echo or any js library is optional, and Laravel Passport does not require any of these.
See the Laravel Passport composer.json on requirements and other dependencies:
https://github.com/laravel/passport/blob/7.0/composer.json
1
And just a small add laravel JWT(Tymon) holds user data to verify and is part of the Authorization header. But the token is generated and passed as a header + has expiration time but is not stored anywhere (unless you want to but there is no reason)
– pr1nc3
Mar 26 at 8:20
Thank you......
– mafortis
Mar 26 at 9:56
add a comment |
Laravel passport needs database to store tokens that are generated and used during authorization. Also, needs to bind these tokens to a specific users.
There are actually 5 new tables that are generated from migrations when installing Laravel Passport:
https://github.com/laravel/passport/tree/7.0/database/migrations
About using Laravel Echo or any js library is optional, and Laravel Passport does not require any of these.
See the Laravel Passport composer.json on requirements and other dependencies:
https://github.com/laravel/passport/blob/7.0/composer.json
1
And just a small add laravel JWT(Tymon) holds user data to verify and is part of the Authorization header. But the token is generated and passed as a header + has expiration time but is not stored anywhere (unless you want to but there is no reason)
– pr1nc3
Mar 26 at 8:20
Thank you......
– mafortis
Mar 26 at 9:56
add a comment |
Laravel passport needs database to store tokens that are generated and used during authorization. Also, needs to bind these tokens to a specific users.
There are actually 5 new tables that are generated from migrations when installing Laravel Passport:
https://github.com/laravel/passport/tree/7.0/database/migrations
About using Laravel Echo or any js library is optional, and Laravel Passport does not require any of these.
See the Laravel Passport composer.json on requirements and other dependencies:
https://github.com/laravel/passport/blob/7.0/composer.json
Laravel passport needs database to store tokens that are generated and used during authorization. Also, needs to bind these tokens to a specific users.
There are actually 5 new tables that are generated from migrations when installing Laravel Passport:
https://github.com/laravel/passport/tree/7.0/database/migrations
About using Laravel Echo or any js library is optional, and Laravel Passport does not require any of these.
See the Laravel Passport composer.json on requirements and other dependencies:
https://github.com/laravel/passport/blob/7.0/composer.json
edited Mar 26 at 8:20
answered Mar 26 at 8:18
niklazniklaz
2,0701 gold badge13 silver badges18 bronze badges
2,0701 gold badge13 silver badges18 bronze badges
1
And just a small add laravel JWT(Tymon) holds user data to verify and is part of the Authorization header. But the token is generated and passed as a header + has expiration time but is not stored anywhere (unless you want to but there is no reason)
– pr1nc3
Mar 26 at 8:20
Thank you......
– mafortis
Mar 26 at 9:56
add a comment |
1
And just a small add laravel JWT(Tymon) holds user data to verify and is part of the Authorization header. But the token is generated and passed as a header + has expiration time but is not stored anywhere (unless you want to but there is no reason)
– pr1nc3
Mar 26 at 8:20
Thank you......
– mafortis
Mar 26 at 9:56
1
1
And just a small add laravel JWT(Tymon) holds user data to verify and is part of the Authorization header. But the token is generated and passed as a header + has expiration time but is not stored anywhere (unless you want to but there is no reason)
– pr1nc3
Mar 26 at 8:20
And just a small add laravel JWT(Tymon) holds user data to verify and is part of the Authorization header. But the token is generated and passed as a header + has expiration time but is not stored anywhere (unless you want to but there is no reason)
– pr1nc3
Mar 26 at 8:20
Thank you......
– mafortis
Mar 26 at 9:56
Thank you......
– mafortis
Mar 26 at 9:56
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55352520%2finformation-on-laravel-api%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Laravel passport uses JWT
– pr1nc3
Mar 26 at 8:18
@pr1nc3 thwn why some people install jwt instead of passport?
– mafortis
Mar 26 at 9:51
1
You said you read a lot of articles that should be the first thing that you faced. stackoverflow.com/questions/47745884/…
– pr1nc3
Mar 26 at 9:53
@pr1nc3 that's i should read on pc, thank you
– mafortis
Mar 26 at 9:55