简体   繁体   中英

How can I integrate Keycloak SSO with Php application?

Greeting from my side... I am very new to keycloak which is open source that provide authentication to our app I have my simple php app and I need to integrate Keycloak SSO feature with my php app

I do some research on google that keycloak not provide any adapter to integrate in php app But I found an adapter on github Aatccama/keycloak-adapter-php.

this is repo link: https://github.com/ataccama/keycloak-adapter-php[Keycloak php adapter] 1

But I did not understand how to use it. Can any one guide me. Thank you.

You can use any OpenId connect library you want to use Keycloak with PHP. Do a Google search on openid connect php and you will find a multitude of libraries and tutorials.

On your second question I suggest to delve into the Keycloak documentation itself before you put any auth solution online. A basic knowledge of DevOps is required so I suggest you also look into that topic for deploying and managing a server as Keycloak can be deployed in many ways depending on your own preferences.

You have a example to guide more with sso-keycloak-php repo.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM