-
Notifications
You must be signed in to change notification settings - Fork 599
Ensuring the generated redirect URL is valid #903
Comments
Note there is an existing check for this in HandleUnauthorizedAsync:
Note it only logs. This was because Katana did not apply challenges immediately, it waited until OnSendingHeaders or pipeline-unwind so any exception thrown would not be visible to user code. Core applies challenges immediately when called from user code. While pipeline unwind automatic challenges are still supported, they are not the normal flow. Also, throwing an exception has the advantage of changing this infinite redirect to a 500. |
👍 for throwing an exception (an InvalidOperationException, maybe?) |
thought id add this in here for histories sake ... https://twitter.com/josefajardo/status/819329380421804032 I still haven't worked out how to fix it BUT atleast I know what caused it .. |
In issue #844, @PinpointTownes wrote:
The text was updated successfully, but these errors were encountered: