OpenConext / OpenConext-oidcng

OpenID Connect gateway - The Next Generation
3 stars 5 forks source link

Missing playground redirect leads to a 400 #93

Closed phavekes closed 2 hours ago

phavekes commented 2 hours ago

This issue is imported from pivotal - Originaly created at Jun 13, 2019 by Bart Geesink

When I use the credentials of another client, tthat does not have the playground redirect URL configured, I get a 400 of the oidc-playground application: HTTP Status 400 – Bad Request And an error is thrown in the logs: Error has occurred: {timestamp=Thu Jun 13 14:24:22 CEST 2019, status=302, error=Found, message=Client testbart with registered redirect URI\'s [https://www.123.nl/test, https://oidctest.vm.openconext.org/test/redirect] requested authorization with redirectURI https://oidc-playground.test2.surfconext.nl/oidc/api/redirect, path=/oidc/authorize}

Can we intercept this error and show the user a message describing that the redirect URL needs to be added?

phavekes commented 2 hours ago

(Okke Harsta - Jun 17, 2019)