I’ve been trying to use the OAuth2 implementation ...
# ktor
m
I’ve been trying to use the OAuth2 implementation to do an OpenID request, and I’m running into an issue… I have the following OAuth2 config:
Copy code
val loginProviders = listOf(
        OAuthServerSettings.OAuth2ServerSettings(
                // configUrl = <https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration>
                name = "AzureAD",
                authorizeUrl = "<https://login.microsoftonline.com/common/oauth2/v2.0/authorize>",
                accessTokenUrl = "<https://login.microsoftonline.com/common/oauth2/v2.0/token>",
                clientId = "*****",
                clientSecret = "*****",
                defaultScopes = listOf("openid")
        )
).associateBy { it.name }