legend-sdlc icon indicating copy to clipboard operation
legend-sdlc copied to clipboard

OIDC Config for SDLC Authentication

Open rmramprabhu opened this issue 2 years ago • 0 comments

OIDC Config for SDLC Authentication

Hi Team,

   We have pulled the latest SDLC Docker image and have it integrated with our Gitlab onprem server and its working fine.

When we try to switch over the OIDC authentication to generic OIDC Client, we are facing below issue and Can anyone of You

please provide guidance on how to move forward with this issue?

HTTP ERROR 500 org.pac4j.core.exception.TechnicalException: configuration cannot be null</h2>

URI: /sdlc/auth/authorize
Status:  500
Message: org.pac4j.core.exception.TechnicalException: configuration cannot be null
Servlet: jersey
Caused By: org.pac4j.core.exception.TechnicalException: configuration cannot be null

The config we tried are below:

"clients": [ { "org.pac4j.oidc.client.OidcClient": { "name": "OidcClient", "clientId": "", "secret": "", "discoveryUri": "https://xxxxx/.well-known/openid-configuration", "scope": "openid profile api" } } ],

"clients": [ { "org.pac4j.oidc.client.AzureAdClient": { "name": "AzureAd", "clientId": "", "secret": "", "discoveryUri": "https://xxxxx/.well-known/openid-configuration", "scope": "openid profile api" } } ],

rmramprabhu avatar Aug 17 '22 19:08 rmramprabhu