So I am developing a web-app with Laravel as back-end and VueJs as front end, in which I would like to implement Okta
as SSO. I would like to implement authentication in following manner.
- User comes on the website and provide username and password via login form.
- Send post request to the server with user inputs.
- Verify user credentials on Okta and generate token
- Send token as response of login api.
I have searched the Okta documents about how to implement this. And I found Identity engine
implementation via Identity engine sdk
. But I have not found any such Identity engine sdk for PHP or Laravel. So my question is
- Is this even possible in PHP?
- If yes, Can you provide any documentation or working demo to check?
- If not, What are the other option to achieve this? Thank you in advance.
CodePudding user response:
You could consider using Laravel Socialite with a open-source provider for Okta. https://socialiteproviders.com/Okta/#okta
CodePudding user response:
Good question. Will this help you? - https://github.com/okta/okta-sdk-php