Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19327

FORM and OIDC auth method in different wars but same ear not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 34.0.0.Final
    • 29.0.1.Final, 32.0.0.Final
    • Security
    • None
    • Hide

      Deploy ear from demo project to WildFly o JBoss EAP. Open in browser http://localhost:8080/oidc and click the link, it works as it should, but if you open http://localhost:8080/form and click the link it gives you error. If you remove oidc.war from ear's modules and dependencies then form page works as it should.

      Show
      Deploy ear from demo project to WildFly o JBoss EAP. Open in browser http://localhost:8080/oidc and click the link, it works as it should, but if you open http://localhost:8080/form and click the link it gives you error. If you remove oidc.war from ear's modules and dependencies then form page works as it should.
    • ---
    • ---
    • JBoss Enterprise Application Platform

      It's impossible to have FORM authentication un one war with its context and OIDC authentication in another war with another context but both in the same ear. The OIDC part would work but not the form authentication, it's not capable to show login form and gives Internal Server Error or Forbidden.

      Attaching the demo project.

            rsearls r searls
            d.kalgushkin@avoristravel.com Denis Kalgushkin (Inactive)
            Votes:
            7 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: