Laravel 5.4 Passport - Authentication 3rd party login

Asked

Viewed 85 times

1

I have this system that I developed. It is developed in reactjs + Redux + sagas in frontend and RESTFUL API in backend in Laravel.

BUT in the company in which I work there is a requirement that the login be centralized and provided by a system of the central IT department. All company systems must undergo this central authentication.

So I can find many online tutorials that use Laravel Passport as an authentication server for other systems to consume the API. However what I need to know is how, at a time, to have my backend being a consumer of another API to authenticate users and safeguard the routes of my API.

It would be something like using facebook for login. But it’s not facebook it’s keycloak. I don’t really know what to look for on the net to find this solution actually. All tutorials that involve login with "3rd party" are about login facebook or google specifically already with plugins and everything else. they don’t help me because I can’t adapt them to my problem.

someone somewhere can help me?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.