Login Keycloak - PHP 5.6

Friends, I have a challenge…, how do I allow PHP 5.6 to authenticate in Keycloak 14.0?
I’m not succeeding in the tests. I am in need of help to resolve this issue.
I will have a button to log in, the next step will open the Keycloak login screen and then PHP will receive the SESSION generated by Keycloak authentication.

Are you using a PHP OAuth2 or OIDC client? There are a few current ones that make protecting a PHP application with Keycloak easier. E.g.:

But any OAuth2 or OIDC library should do the trick.

1 Like

when we redirecting our application it does not work,it does not accept credentials of our application i.e some session problem is faced by me.

Please explain your problem better.