# Knime openId connect a few left configuration steps

**URL:** <https://forum.knime.com/t/knime-openid-connect-a-few-left-configuration-steps/83910>\
**Category:** KNIME Server\
**Created:** [October 17, 2024, 2:46pm UTC](https://forum.knime.com/t/knime-openid-connect-a-few-left-configuration-steps/83910 "2024-10-17T14:46:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![b\_kochs](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/b/2acd7d/32.png) [@b\_kochs](https://forum.knime.com/u/b_kochs)\
**Post date:** [October 17, 2024, 2:46pm UTC](https://forum.knime.com/t/knime-openid-connect-a-few-left-configuration-steps/83910/1 "2024-10-17T14:46:27Z")

</div>

Hello,

previously when getting the authentification by openId when redirecting to apache webserver we got this errormessage:  
The redirect URI xy specified in the request does not match the redirect URIs configured for the application  
,because the redirect-url of apache started with http not https.

We solved this problem by redirecting to the knime-server url:  
“[https://knime-server:8443/knime\_cloud/webportal](https://knime-server:8443/knime_cloud/webportal)”

The knime webportal showed a connect-button instead of the user-pwd fields. With the right MS-Account and Password  
the logon was successfull, but the knime-page complained:

Something went wrong!  
Sorry, it looks like you tried to access something you need additional permissions for. \<403\>

Could you please give further guidance to confige this right?

Greetings B.Kochs

auth.2024-10-17.log\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
17-Oct-2024 16:20:02.773 FINE .authenticator.KnimeServerAuthenticator.doAuthenticate Using KnimeOAuthAuthenticatorValve authenticator for path /  
17-Oct-2024 16:20:02.773 FINE .authenticator.oidc.KnimeOAuthRequestAuthenticator.resolveCode checking state cookie for after code  
17-Oct-2024 16:20:02.774 FINE .authenticator.oidc.KnimeOAuthRequestAuthenticator.resolveCode Redirect URI for code to token exchange: “[https://knime-server:8443/knime\_cloud/](https://knime-server:8443/knime_cloud/)”  
17-Oct-2024 16:20:02.921 FINE .authenticator.oidc.KnimeOAuthRequestAuthenticator.resolveCode Verifying tokens  
17-Oct-2024 16:20:02.921 FINEST .authenticator.oidc.KnimeOAuthRequestAuthenticator.logToken access\_token: 123456  
17-Oct-2024 16:20:02.922 FINEST .authenticator.oidc.KnimeOAuthRequestAuthenticator.logToken refresh\_token: null  
17-Oct-2024 16:20:02.922 FINE .authenticator.oidc.KnimeAdapterTokenVerifier.verifyTokens Parsing full access token for verification.  
17-Oct-2024 16:20:02.923 SEVERE .authenticator.oidc.KnimeOAuthRequestAuthenticator.resolveCode failed verification of token: Invalid token signature  
17-Oct-2024 16:20:02.984 FINE .authenticator.KnimeServerAuthenticator.invoke Not subject to any constraint  
17-Oct-2024 16:20:03.037 FINE .authenticator.KnimeServerAuthenticator.invoke Not subject to any constraint  
17-Oct-2024 16:20:03.038 FINE .authenticator.KnimeServerAuthenticator.invoke Not subject to any constraint

* * *

apache-tomcat-9.0.58/conf/Catalina/localhost/knime-oidc-config.json\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
“identity-provider-name”: “AzureAD/CAIMAN”,  
“auth-server-url”: “[https://login.microsoftonline.com/a5e6c6bd-17f0-4980-be25-49bcd5c558ae/v2.0](https://login.microsoftonline.com/a5e6c6bd-17f0-4980-be25-49bcd5c558ae/v2.0)”,  
“resource”: “3xyxyxyx”,  
“authorization-endpoint”: “[Sign in to your account](https://login.microsoftonline.com/a5e6c6bd-17f0-4980-be25-49bcd5c558ae/oauth2/v2.0/authorize)”,  
“allow-opaque-access-token”: “true”,  
“credentials”: {  
“secret”: “xyxyxyxy”  
},  
“redirect-rewrite-rules”: {  
“^(http:)(.\*)$” : “https://\2”  
}  
}

* * *

---

<div class="post-metadata">

**Author:** ![ztrubow](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/z/ba9def/32.png) [@ztrubow](https://forum.knime.com/u/ztrubow)\
**Post date:** [October 18, 2024, 1:53pm UTC](https://forum.knime.com/t/knime-openid-connect-a-few-left-configuration-steps/83910/2 "2024-10-18T13:53:55Z")

</div>

Hi @b_kochs ,

Would you mind submitting this information to [support@knime.com](mailto:support@knime.com) as well as the support bundle/auth logs so that we can take this off of the forum as there may be sensitive data in some of your configuration files, and you should have enterprise support if you have an active KNIME Server license. I’ll pick the case up there and we can continue troubleshooting through our ticketing system.

Thanks,  
Zack

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [January 16, 2025, 1:54pm UTC](https://forum.knime.com/t/knime-openid-connect-a-few-left-configuration-steps/83910/3 "2025-01-16T13:54:22Z")

</div>

Closed on January 16, 2025, 1:54pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
