[ 
https://issues.apache.org/jira/browse/TOMEE-4591?focusedWorklogId=1013303&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1013303
 ]

ASF GitHub Bot logged work on TOMEE-4591:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Apr/26 19:50
            Start Date: 03/Apr/26 19:50
    Worklog Time Spent: 10m 
      Work Description: jungm opened a new pull request, #2578:
URL: https://github.com/apache/tomee/pull/2578

   see https://issues.apache.org/jira/projects/TOMEE/issues/TOMEE-4591




Issue Time Tracking
-------------------

            Worklog Id:     (was: 1013303)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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