Hi, In case of a malformed URI, is there a way I ...
# talk-hydra
f
Hi, In case of a malformed URI, is there a way I can configure Ory to not perform a redirect but just return an error?
s
I think if you set the accept type to
applicatio/jsonn
it should give your the error as json
f
Are you suggesting we intercept the error and stop? On the mobile solution we can intercept a redirect but on a web its difficult to intercept a redirect. So, I wondering if there was a way to configure Ory to stop a redirect and just return to the forwarder. Eg. 1. TPP (Third Party Provider) sends malformed URL->Mobile->Authenticates with Ory->Fails->Return back to Mobile->Mobile intercepts and stops the redirect to TPP 2. TPP sends malformed URL->Website->Authenticates using Ory->Fails->Returns back to website->Unable to intercept HTTP 302, goes back to TPP I don’t want the example 2 to happen, wan to stop the HTTP 302
@steep-lamp-91158 any help on the above?