When users access Strategy Library using the OIDC authentication mode, they are not redirected to the IdP’s login page but get the “Error in login” error.

A possible cause of the issue is a typo in the scopes section.
The best source of information is StrategyLibrary-default.log which can be found at “C:/Program Files (x86)/Common Files/MicroStrategy/Log/” by default. In a scenario outlined above we can see following error message:
{"@timestamp":"2024-10-25T10:07:40.548Z","@version":"1","message":"Failed to load OIDC config","logger_name":"com.Strategy.auth.oidc.config.OidcConfig","thread_name":"main","level":"ERROR","level_value":40000,"stack_trace":"java.lang.IllegalArgumentException: scope \"offline access\" contains invalid characters\n\tat org.springframework.util.Assert.isTrue(Assert.java:111)\n\tat{"@timestamp":"2024-10-25T10:07:40.286Z","@version":"1","message":"HTTP GET <ISSUER_URL>/.well-known/openid-configuration","logger_name":"(...)
After correcting the typo and restarting the Web Server, authentication should work as expected.