Oauth2 Redirect URL http / https

Hi,
in our organization we connect to some of our data which is stored on Azure by a Microsoft API.
For this, we use the Oauth2 connector.

Our redirect URL is https://localhost:xxxxx/ and our redirects never work. We are not allowed to use http.

The Oauth2 Authenticator window suggests that the Redirect URL has to be http. Is our understanding correct?

What can we do to connect to our data with a https redirect URL?

Thanks
CJ

Hi @Christoph_Jonen

welcome to the KNIME forum!

About your question concerning redirects to https://localhost:
First, please understand, that in this scenario your local KNIME AP is providing the localhost webserver. Using https here is technically infeasible because the localhost webserver would require a valid, signed SSL certificate to be accepted by your browser. No real-world certificate authority will issue a certificate for localhost. Also, AP does not offer functionality for adding an SSL certificate for the localhost webserver. If you cannot create an exception in your browser, so that it accepts http://localhost (or get IT to create such an exception) then I am afraid this will not work.

An alternative approach might be to perform the login in KNIME Business Hub, if you have access to such an installation on-premise. Current versions of KNIME Business Hub support interactive logins to Entra ID:

https://docs.knime.com/latest/business_hub_secrets_guide/index.html#secret_type_microsoft_interactive

Note that this type of Hub secret is only available in your personal Hub account, not for Hub teams that you may be a part of.

Best,
Björn

2 Likes