Haufe-Lexware/wicked.haufe.io

Chrome/FireFox: wicked UI does not accept any redirect URIs with custom schemes

Closed this issue · 0 comments

With Chrome and Firefox you cannot register redirect URIs with custom schemes; they are rejected with the following error message: "Redirect URI is a valid URL, but must contain a host. Please check documentation."

With Safari, it works as expected.

Background: new URL('myscheme://localhost/callback') is not interpreted to contain a host property on FireFox and Chrome, but on Safari it is (and is also in node.js). The parsing of the URL has to be changed to always support custom schemes, on all browsers.