Troubleshooting SSO

Common error messages

chevron-rightA valid SubjectConfirmation was not found on this Responsehashtag

This could indicate there is a mismatch between the Recipient and Destination URLs. Check in the SAML response XML if Recipient and Destination URL's match. When it does not match it should be configured in your SAML provider.

chevron-rightUnknown AssertionConsumerServiceURLhashtag

The URL in the configuration file is probaby incorrect. Check your wbe.config.yml file and look at the app.url variable. That should match the domain that is used to access WriteBackExtreme

chevron-rightSSO Login in management console works but not in extensionhashtag

The return url that ends with auth/saml/login-return is probably not added to the Assertion Consumer Service URLs in your SSO provider

chevron-rightCannot login in management console with SSOhashtag
  • Check if the user that is trying to login has permissions to view the management console. He should be either admin or have at least one role attached. And he should not be blocked

  • Check the logs in the management console. (Info & License->System Logs, click the log of that specific day) Maybe there is a clue stored in there.

  • Check the attributes in your IDP provider. The username should match the username that you have in the management console.

chevron-rightAuthentication method by which the user authenticated with the service doesn't match requested authentication methodhashtag

This problem occures/happends, because of the way how the session authentication method (SAML AuthnRequest) is configured on the other SSO app. WritebackExtreme by defaults use “Password, ProtectedTransport” as request authentication method.

Solution

We have added a configuration variable to allow all options, but allow any cross request authentication method. Within the wbe.config.yaml file set the following variable to not strictly check on the cross request authentication method:

  env:
    portal:
      saml:
        requested_auth: false

chevron-right405 Method not allowedhashtag

When the browser shows a 405 Method not allowed, it basically means that the return url that is called by the SSO provider is not a POST request. You can check this my installing the SAML tracer plugin in chrome (https://chromewebstore.google.com/detail/saml-tracer/mpdajninpobndbfcldcmbpnnbhibjmch?hl=enarrow-up-right) This extension will record all requests that are send. A good procedure looks like this:

Last updated