We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the authorizationServerBaseUrl argument passed to OauthClient is not a complete URL, no exception will be thrown until the openid RedirectRequestHandler attempts to build a new URL(...) object out of it. Sadly, the error is swallowed by this try/catch: https://github.com/girder/girder-oauth-client/blob/36bbcbe8a9f5b03d37c84a338a77ec7746845cad/src/oauth-client.ts#L45-L51
authorizationServerBaseUrl
OauthClient
RedirectRequestHandler
new URL(...)
Either an earlier check for this malformed user input or a more specific catch would have saved me a few hours of debugging.
catch
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If the
authorizationServerBaseUrl
argument passed toOauthClient
is not a complete URL, no exception will be thrown until the openidRedirectRequestHandler
attempts to build anew URL(...)
object out of it. Sadly, the error is swallowed by this try/catch: https://github.com/girder/girder-oauth-client/blob/36bbcbe8a9f5b03d37c84a338a77ec7746845cad/src/oauth-client.ts#L45-L51Either an earlier check for this malformed user input or a more specific
catch
would have saved me a few hours of debugging.The text was updated successfully, but these errors were encountered: