Keycloak is an open source software product to allow single sign-on with Identity and Access Management aimed at modern applications and services.
OpenID Connect and OAuth 2.0 Connector to popular SaaS platform Keycloak (Open source)
Read less
Keycloak SSO Connector vs IdP
The IdP component in the Forge is great! You can use both of these components to authenticate to Keycloak, however they differ in protocol - IdP uses SAML 2.0, where as this component uses OpenID Connect and OAuth 2.0. With this component, you can use the Access Token provided by Keycloak to invoke OAuth2.0 protected services.
OutSystems
Re-usable component to enable authentication via Keycloak. To use:
Update the Security Exception sequence in your OnException and redirect to keycloak SSO componet.
Save your keycloak configuration in outsystems keycloak SSO component KeyCloakConfig table.
Important notes-
Keycloak - Authorization - url to get the code-
HTTP/1.1 302 Found Location: https://server.example.com/authorize? response_type=code &scope=openid%20profile%20email &client_id=s6BhdRkqt3 &state=af0ifjsldkj &redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb
Keycloak Access Token-
POST /token HTTP/1.1 Host: server.example.com Content-Type: application/x-www-form-urlencoded Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW grant_type=authorization_code&code=SplxlOBeZQQYbYS6WxSbIA &redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb
Important URL-
https://www.keycloak.org/docs/latest/securing_apps/index.html#endpoints
https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint