Good morning,
I noticed an error when accessing the SSO authentication page by keycloack by the “miniorange” plugin using the “openid-connect” protocol, the redirection of the page tells us on the URL: http://ip1:8080/auth/realms/wordpress/protocol/openid-connect/auth?client_id=wordpress&scope=openid%20profile%20email&redirect_uri=http://ip2/wordpress&response_type=code&state=a2V5Y2xvYWs=
“We are sorry - Page not found”.
Indeed:
- In the URL: - ip1 - corresponding to the IP of the keycloack server
- ip2 - corresponding to the IP of the wordpress server. - I created a realm: wordpress
- A “wordpress” user has been added
About the fields filled in: - the “client ID” field: wordpress
- the “Name” field: wordpress
- the “Valid redirect URI” ip2/wordpress
- client authentication: on
- Authorization: on
Authentication flow: Standard flow, Direct access grants, Oauth2.0 devices Authorization Grant, OIDC CIBA Grant -->activate - login: basic
- Front channel logout: on
- Backchannel logout session required: on
A test by the miniorange plugin “SSO debugging” shows some errors:
#################################################
Test Failed!!
Authorization Request Sent
http://ip1:8080/auth/realms/wordpress/protocol/openid-connect/auth?client_id=wordpress&scope=openid&redirect_uri=http://ip2/wordpress&response_type=code&state=a2V5Y2xvYWs=
Troubleshooting:
Make sure that the correct client id input is given
Make sure that the correct redirect URI entered at your Provider while setting up the SSO app.
Make sure that you have entered the correct scope.
Make sure that you have entered the correct userinfo endpoint.
To ensure these configuration please click on the Back button.
###################################################
- The “secret” field of the “wordpress” account has been added in the associated field in the “miniorange” plugin
Thank you very much for your help to resolve my issue.
Best regards,