mkporwit
06/05/2018, 1:19 AMOAuthServerSettings.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", "email", "profile", "offline_access"),
requestMethod = <http://HttpMethod.Post|HttpMethod.Post>
)
Otherwise, I’m using the sample OAuth2 code that ktor provides.Deactivated User
06/05/2018, 12:56 PMmkporwit
06/05/2018, 2:34 PM