Does every request need authentication on the server?

|
purplex227 2022-05-07 19:15:49
Waxikevin 2022-05-07 16:53:45
Are there good alternatives to redesign laravel mails

I’m following this

anujrock1 2022-05-07 19:16:38
HEMANT SINGH 2022-05-07 19:14:09
There is any 3 years experience developer

In which stack?

M 2022-05-07 20:39:30
Hi how laravel outh login
priyesh jariwala 2022-05-07 20:51:34
M 2022-05-07 20:39:30
Hi how laravel outh login

What??

MaulikRaaj Rathore 2022-05-07 20:51:46
Hello guys, Good evening 🌄

I am a full stack developer and hope we will work together
4+ year experience
www.ruturaaj.in this is latest running project..
For more work and requirements and expectations DM me
🤝 50% off weekend deals 🤝

R4shV 2022-05-07 20:53:25
M 2022-05-07 20:39:30
Hi how laravel outh login

Use Laravel Passport

M 2022-05-07 20:54:51
R4shV 2022-05-07 20:53:25
Use Laravel Passport

I want to create my own oauth server. I will keep the amount of cookies I bought. Does every request need authentication on the server?

M 2022-05-07 20:55:32
How can I set different authorizations for different pages when I use passport with tooken
M 2022-05-07 20:56:10
For example, user a enters page x, not page y.
user b enter both
M 2022-05-07 20:56:34
I will be glad if you give theoretical information, I am researching the passport
anujrock1 2022-05-07 20:56:39
M 2022-05-07 20:56:10
For example, user a enters page x, not page y.
user b enter both

Use middleware for that

M 2022-05-07 20:57:07
I will keep my tookenda authorized
M 2022-05-07 20:58:08
anujrock1 2022-05-07 20:56:39
Use middleware for that

When I used session, yes, I was creating and doing something like $_SESSION[‘Auth’]=[1,2,3] in the middle ware, so the effect was stored in the session.

anujrock1 2022-05-07 20:58:14
M 2022-05-07 20:57:07
I will keep my tookenda authorized

First your authorization will be based on token, then you can add middleware to check role

That this person have permission to access this page or not

M 2022-05-07 20:59:29
anujrock1 2022-05-07 20:58:14
First your authorization will be based on token, then you can add middleware to check role

That this person have permission to access this page or not

then I will need to create a role table, the user will be determined according to the token taken from that table, then the role will be determined

M 2022-05-07 20:59:40
Is it true
anujrock1 2022-05-07 21:00:29
M 2022-05-07 20:59:29
then I will need to create a role table, the user will be determined according to the token taken from that table, then the role will be determined

Or you can and one column on user table, user_type or something like this, e.g admin, user etc

And based on this you can authorized

anujrock1 2022-05-07 21:00:46
M 2022-05-07 20:59:40
Is it true

Yes, it is

M 2022-05-07 21:01:28
I will have to write an api inside the role control, right?
M 2022-05-07 21:01:40
anujrock1 2022-05-07 21:00:46
Yes, it is

thank you very much friends

anujrock1 2022-05-07 21:01:57
M 2022-05-07 21:01:28
I will have to write an api inside the role control, right?

Not getting you point?

M 2022-05-07 21:02:30
my English is not good
anujrock1 2022-05-07 21:02:57
anujrock1 2022-05-07 21:00:29
Or you can and one column on user table, user_type or something like this, e.g admin, user etc

And based on this you can authorized

Take a look into this, as you are doing in session auth 123 and related rhat

anujrock1 2022-05-07 21:03:08
M 2022-05-07 21:02:30
my English is not good

My also

M 2022-05-07 21:03:35
where is it better to store the token
M 2022-05-07 21:04:55
token cookies should be stored
anujrock1 2022-05-07 21:05:23
M 2022-05-07 21:03:35
where is it better to store the token

😳

If you are using passport or jwt then they automatically create table separate on database

If you are using default scantum this also store token on user table

M 2022-05-07 21:06:25
Do I need to store the token in the browser to send it with the header?
anujrock1 2022-05-07 21:07:43
M 2022-05-07 21:06:25
Do I need to store the token in the browser to send it with the header?

For front end which stack are you using?

Yes you need to store that token in client browser

anujrock1 2022-05-07 21:08:22
M 2022-05-07 21:06:25
Do I need to store the token in the browser to send it with the header?

Sorry, I have to go

Will connect you later

M 2022-05-07 21:08:47
anujrock1 2022-05-07 21:08:22
Sorry, I have to go

Will connect you later

thank you friends

bjvalmaseda 2022-05-07 21:27:00
Hey 👋 community anyone has put WebSockets behind an Nginx proxy in docker, cus I try but always return an error, I think is about SSL cert
jovialcore 2022-05-08 00:06:02
Y’all check my blog,
Jovialcore.tech

I’m available for any php/Laravel or WordPress gig with Vuejs/jQuery

Bright 2022-05-08 00:10:22
If you want to convert any template to a WordPress premium theme or need a WordPress plugin, I’m available
ALIBAKIL 2022-05-08 02:24:18
I want to learn Laravel is there an integrated course through which I can design a store
|