Markus Jung created TOMEE-4591:
----------------------------------

             Summary: OpenIdAuthenticationMechanism redirectToOriginalResource 
don't treat case without stored request as an error
                 Key: TOMEE-4591
                 URL: https://issues.apache.org/jira/browse/TOMEE-4591
             Project: TomEE
          Issue Type: Improvement
    Affects Versions: 10.1.4
            Reporter: Markus Jung
            Assignee: Markus Jung


We both need redirectToOriginalResource=true but also have a B2B usecase where 
a login is directly initiated from our identity provider, so no request has 
been stored.

 

Right now, this yields the following exception
{code:java}
java.lang.IllegalStateException: redirectToOriginalResource=true is configured 
but no original request has been stored before
{code}
 

As far as I can tell this is not required by the spec anywhere so IMO we should 
just turn this into a warning



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to