Error in SAML login

Confluence User - 28 Oct, 2019

New to Joget. Trying the professional edition and have configured the SAML Directory Manager in order to get SSO. User provisioning setting is enabled. When trying to login (IDP initiated flow) I get the following error message in the Joget logs:


Error in SAML login
java.lang.ClassCastException: org.joget.apps.workflow.security.WorkflowUserDetails cannot be cast to java.lang.String
	at org.joget.apps.util.JogetSecurityContextImpl.setAuthentication(JogetSecurityContextImpl.java:84)
	at org.joget.plugin.saml.SamlDirectoryManager.doLogin(SamlDirectoryManager.java:228)
	at org.joget.plugin.saml.SamlDirectoryManager.webService(SamlDirectoryManager.java:104)
	at org.joget.apps.app.controller.PluginJsonController.pluginService(PluginJsonController.java:242)
	at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source)


And I'm not being logged in. But the user has been created in Joget: I can see the new user listed under 'Users' in Joget. Any ideas?

sso;saml

4


29 Oct, 2019
confluenceUser
1
confluenceUser

Hi, what version of Joget are you using? I am running latest 6.0.22 and SAML is working ok for me.

29 Oct, 2019
confluenceUser
confluenceUser

I'm using the latest docker image, which contains 6.0.21 - build ceab7fc

30 Oct, 2019
confluenceUser
confluenceUser

Hi, it seems the latest docker image has been updated to 6.0.22 now. Perhaps you can give that a try.

30 Oct, 2019
confluenceUser
confluenceUser

Yep, that works for me too.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print