Hi, has anyone experienced trouble with ktor and LinkedIn OAuth provider? It does seem to fail when requesting accessToken... My settings cannot be more straight forward:
val linkedInSettings = OAuthServerSettings.OAuth2ServerSettings(
name = "linkedin",
authorizeUrl = "
https://www.linkedin.com/oauth/v2/authorization",
accessTokenUrl = "
https://www.linkedin.com/oauth/v2/accessToken",
requestMethod =
HttpMethod.Post,
clientId = cfg.clientId,
clientSecret = cfg.clientSecret,
defaultScopes = listOf("r_emailaddress", "r_liteprofile") //
)