|
|
@ -216,8 +216,6 @@ public class OIDCAuthenticationFilter extends AbstractAuthenticationProcessingFi
|
|
|
|
throw new AuthenticationServiceException("No issuer found: " + issuer);
|
|
|
|
throw new AuthenticationServiceException("No issuer found: " + issuer);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
session.setAttribute(ISSUER_SESSION_VARIABLE, issuer);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ServerConfiguration serverConfig = servers.getServerConfiguration(issuer);
|
|
|
|
ServerConfiguration serverConfig = servers.getServerConfiguration(issuer);
|
|
|
|
if (serverConfig == null) {
|
|
|
|
if (serverConfig == null) {
|
|
|
|
logger.error("No server configuration found for issuer: " + issuer);
|
|
|
|
logger.error("No server configuration found for issuer: " + issuer);
|
|
|
@ -225,6 +223,8 @@ public class OIDCAuthenticationFilter extends AbstractAuthenticationProcessingFi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
session.setAttribute(ISSUER_SESSION_VARIABLE, serverConfig.getIssuer());
|
|
|
|
|
|
|
|
|
|
|
|
RegisteredClient clientConfig = clients.getClientConfiguration(serverConfig);
|
|
|
|
RegisteredClient clientConfig = clients.getClientConfiguration(serverConfig);
|
|
|
|
if (clientConfig == null) {
|
|
|
|
if (clientConfig == null) {
|
|
|
|
logger.error("No client configuration found for issuer: " + issuer);
|
|
|
|
logger.error("No client configuration found for issuer: " + issuer);
|
|
|
|