Re: Registration / Authentication system for Forms

Posted by SK on
URL: https://discuss.orbeon.com/Registration-Authentication-system-for-Forms-tp4661779p4665020.html

Yes, created the keycloak json and added a context.xml in META-INF folder of orbeon war to include Keycloak Auth Valve. 
Then made changes to properties-local.xml to include container auth details. 
Now, whenever I try to access the orbeon form, it shows me KeyCloak login page, and after succesful athentication it shows me 403. I have checked the role names in keycloak with what's in web.xml security constraint, and all looks correct. I should be missing some small configuration.

On Tuesday, 4 February 2020 10:53:50 UTC-8, Timo Nisula wrote:
Hi,

I'm also interested setup keycloak and orbeon.

Have you created keycloak.json file to WEB-INF folder as mentioned in <a href="https://www.keycloak.org/docs/latest/securing_apps/#_tomcat_adapter" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.keycloak.org%2Fdocs%2Flatest%2Fsecuring_apps%2F%23_tomcat_adapter\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG8EWu9Q5uMgTGzFt1byJZ1Z-VddA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.keycloak.org%2Fdocs%2Flatest%2Fsecuring_apps%2F%23_tomcat_adapter\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG8EWu9Q5uMgTGzFt1byJZ1Z-VddA&#39;;return true;">https://www.keycloak.org/docs/latest/securing_apps/#_tomcat_adapter ?

-Timo

ti 4. helmik. 2020 klo 19.58 sk85 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="3Sfhqx3VCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">sume...@aot-technologies.com> kirjoitti:
Hi Eusebio,

Were you able to resolve this issue. I am facing the issue while trying to
integrate with Keycloak.

Thanks
SK

--
Sent from: <a href="http://discuss.orbeon.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;">http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="3Sfhqx3VCAAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">orb...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/orbeon/1580756285943-0.post%40n4.nabble.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/orbeon/1580756285943-0.post%40n4.nabble.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/orbeon/1580756285943-0.post%40n4.nabble.com&#39;;return true;">https://groups.google.com/d/msgid/orbeon/1580756285943-0.post%40n4.nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/96632310-b828-4cd9-ba65-e9ac97d43f7e%40googlegroups.com.