Uploaded image for project: 'EAP Documentation'
  1. EAP Documentation
  2. EAPDOC-1742

Guide for SAML adpter doesnt work as is described in OpenShift guide

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • 8.0.0.GA
    • None

      In OpenShift guide, steps for SAML adapter doesn't work. 

      • certificates generated like in documentation didn't works to me. I think they should be created like this:
        openssl req -subj '/CN=test.keycloak.org/O=Test Keycloak./C=US' -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out certificate.pem
        
        oc create secret tls example-tls-secret --cert certificate.pem --key key.pem
        
      • in heml.yaml for SAML should used example-tls-secret instead of the saml-app-secret
      • wrong base layer in the pom.xml
        • cloud-server -> cloud-default-config

      Then I get error message

      The required mechanism 'KEYCLOAK-SAML' is not available in mechanisms [BASIC, CLIENT_CERT, DIGEST, FORM] from the HttpAuthenticationFactory."
      

      this mean the SAML adapter is not installed or configured. So in the guide is missing something.

              rhn-support-rchettri Rahuul Chettri
              rhn-support-kstekovi Krystof Stekovic
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: