Only verified email which is exist in gmail or other platform?

|
purplex227 2022-05-05 17:09:25
khanbozkurt 2022-05-05 16:51:06
All right, I must use Jwt token for admin panel? And will i take token on user model for admin?

I will like to know how you structure your app and if APIs are used in given data to the complete app or if some sections of the app use views to pass data

khanbozkurt 2022-05-05 17:16:46
purplex227 2022-05-05 17:09:25
I will like to know how you structure your app and if APIs are used in given data to the complete app or if some sections of the app use views to pass data

I use blade template with html, js, css for admin panel. And i use vue.js for client. So, i can use sanctum and can i login for two apps (admin, client). if i understand; i will use a jwt token and i will use token with Auth::user->token for login and role controls?

Roba Nath Basnet 2022-05-05 17:17:17
seniormonsieur 2022-05-05 15:43:57
you need help with it?

Yes

seniormonsieur 2022-05-05 17:21:06
Roba Nath Basnet 2022-05-05 17:17:17
Yes

I’m new to laravel but lets try it out

seniormonsieur 2022-05-05 17:21:20
when online chat me up
Roba Nath Basnet 2022-05-05 17:21:43
seniormonsieur 2022-05-05 17:21:06
I’m new to laravel but lets try it out

Sure, thank you

purplex227 2022-05-05 17:27:13
khanbozkurt 2022-05-05 17:16:46
I use blade template with html, js, css for admin panel. And i use vue.js for client. So, i can use sanctum and can i login for two apps (admin, client). if i understand; i will use a jwt token and i will use token with Auth::user->token for login and role controls?

You can use basic authentication to handle the admin section and then jwt or sanctum to handle the frontend(client)

MerchantHussain 2022-05-05 17:27:26
Does any body knows how to create push api in laravel ?
MerchantHussain 2022-05-05 17:27:42
could someone share examples ?
purplex227 2022-05-05 17:27:51
MerchantHussain 2022-05-05 17:27:26
Does any body knows how to create push api in laravel ?

Elaborate what you mean by push APIs

MerchantHussain 2022-05-05 17:28:30
i m using twilio whatsapp and i want to share the status of incoming mssges to a crm
MerchantHussain 2022-05-05 17:28:41
so for that need to create a push api
purplex227 2022-05-05 17:28:43
khanbozkurt 2022-05-05 17:16:46
I use blade template with html, js, css for admin panel. And i use vue.js for client. So, i can use sanctum and can i login for two apps (admin, client). if i understand; i will use a jwt token and i will use token with Auth::user->token for login and role controls?

Are you new to using tokens it seems so from your example

MerchantHussain 2022-05-05 17:30:09
i ll receive a webhook url with unique id ao on that url i need to share the updates
MerchantHussain 2022-05-05 17:31:03
does any one have idea on it ?
khanbozkurt 2022-05-05 17:32:53
purplex227 2022-05-05 17:27:13
You can use basic authentication to handle the admin section and then jwt or sanctum to handle the frontend(client)

So how do I separate the admin and the client control in this case? While logging in, if the user’s role is admin, I will start a session, if it is user, I will send a token. How do I control the user role inside from now on? What if the client wants to login to the admin page?

anujrock1 2022-05-05 17:34:17
khanbozkurt 2022-05-05 17:32:53
So how do I separate the admin and the client control in this case? While logging in, if the user’s role is admin, I will start a session, if it is user, I will send a token. How do I control the user role inside from now on? What if the client wants to login to the admin page?

Use middleware

anujrock1 2022-05-05 17:35:15
khanbozkurt 2022-05-05 17:32:53
So how do I separate the admin and the client control in this case? While logging in, if the user’s role is admin, I will start a session, if it is user, I will send a token. How do I control the user role inside from now on? What if the client wants to login to the admin page?

You can use veu js with session and all laravel routes on with

With interia and jet stream

purplex227 2022-05-05 17:35:37
khanbozkurt 2022-05-05 17:32:53
So how do I separate the admin and the client control in this case? While logging in, if the user’s role is admin, I will start a session, if it is user, I will send a token. How do I control the user role inside from now on? What if the client wants to login to the admin page?

Like @anujrock1 said use middleware and they might be no need for the jwt token if you utilize middleware unless you trying to build the client section as a separate app

purplex227 2022-05-05 17:36:42
@bugfixmen why not utilize one of the laravel authentication scaffolding
anujrock1 2022-05-05 17:37:07
purplex227 2022-05-05 17:35:37
Like @anujrock1 said use middleware and they might be no need for the jwt token if you utilize middleware unless you trying to build the client section as a separate app

+1

Without middleware, you are not restricting client to access admin route

khanbozkurt 2022-05-05 17:39:40
purplex227 2022-05-05 17:36:42
@bugfixmen why not utilize one of the laravel authentication scaffolding

I’ll look sanctum. I guess, this library will solved my problem. Thanks for your supports ❤

purplex227 2022-05-05 17:39:47
anujrock1 2022-05-05 17:37:07
+1

Without middleware, you are not restricting client to access admin route

I agreed with your method of middleware was letting the OP know if he is to use middleware for redirection based on the role they might be no need to use jwt token anymore as that will be enough.

khanbozkurt 2022-05-05 17:40:02
And sorry my bad english 😃
purplex227 2022-05-05 17:40:49
khanbozkurt 2022-05-05 17:39:40
I’ll look sanctum. I guess, this library will solved my problem. Thanks for your supports ❤

You welcome

purplex227 2022-05-05 17:41:17
khanbozkurt 2022-05-05 17:40:02
And sorry my bad english 😃

It was okay to me man.

anujrock1 2022-05-05 17:41:37
khanbozkurt 2022-05-05 17:40:02
And sorry my bad english 😃

Same here man

anujrock1 2022-05-05 17:43:04
purplex227 2022-05-05 17:39:47
I agreed with your method of middleware was letting the OP know if he is to use middleware for redirection based on the role they might be no need to use jwt token anymore as that will be enough.

Yes he can go with middleware with session

purplex227 2022-05-05 17:43:18
anujrock1 2022-05-05 17:43:04
Yes he can go with middleware with session

Yep

vikaskumar_99 2022-05-05 17:46:43
Hi developers, i need to stop spam or disposal email to register our website. Anyone knows how to do that, I’m using laravel. Only verified email which is exist in gmail or other platform??
anujrock1 2022-05-05 17:51:15
vikaskumar_99 2022-05-05 17:46:43
Hi developers, i need to stop spam or disposal email to register our website. Anyone knows how to do that, I’m using laravel. Only verified email which is exist in gmail or other platform??

If you want to allow some specific domain like gmail, yahoo, Hotmail then you can add it in validation.

vikaskumar_99 2022-05-05 17:52:11
anujrock1 2022-05-05 17:51:15
If you want to allow some specific domain like gmail, yahoo, Hotmail then you can add it in validation.

Do you have any example code?

vikaskumar_99 2022-05-05 17:52:29
Or any package?
purplex227 2022-05-05 17:52:41
vikaskumar_99 2022-05-05 17:46:43
Hi developers, i need to stop spam or disposal email to register our website. Anyone knows how to do that, I’m using laravel. Only verified email which is exist in gmail or other platform??

Please elaborate do you want to stop spammers from using phishing attacks to scam users of your app or are you trying to make sure all the emails registered on your platform are valid email addresses.

RAJESHMAREBOINA 2022-05-05 17:54:38
#PHP Fullstack Developer
#Exp:8-10 YRS

#Work From Home [ Permanent ]

#Pan Indians Only
Immidiate to 15 Days Notice period

Job description:
Min. 5 Years experience in Lavavel with VueJs Development.
Job Location – Global (Remote).

Desired/Preferred Expertise:
Web Front-end technologies and tools:
VueJs 2.6+
HTML5, CSS, Bootstrap, ailwind v3.0.23, SASS, JavaScript
NPM, and VS Code.
Web Back-end technologies:
Laravel 8+ and PHP8 are required.
RESTful APIs using Microservices architecture, Express, JSON, Web Sockets.
Basic Database background: NoSQL and RDBMS (MongoDB, MySql 8.0)
Strong experience in Docker.
Must have knowledge in caching: Redis.
Worked with GIT, JIRA.
Good knowledge of design patterns.
Knowledge of Object-Oriented PHP programming.
Write clean, well-documented, robust, and reusable code.
Unit Testing and Debugging.
Problem Solving Capability :
Ability to break down complex/large fuzzy problems into logical pieces and implement the most optimal solution.
Ability to troubleshoot areas of ownership.
Nice to have:
Cloud: Knowledge in cloud technologies (Azure).
Build & CI/CD: MAVEN, Jenkins & Ansible, Containerization.
ElasticSearch.

Share cv with Us :
Mail : thehiringworld.com@gmail.com
WhatsApp : 9177002368

|