Here’s my loginProvider definition: ``` OAu...
# ktor
m
Here’s my loginProvider definition:
Copy code
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", "email", "profile", "offline_access"),
                requestMethod = <http://HttpMethod.Post|HttpMethod.Post>
        )
Otherwise, I’m using the sample OAuth2 code that ktor provides.
d
Is it possible to use this oauth provider without an azure account? I can investigate it as long as I don’t have to provide a credit card or worry about free-tiers and stuff 🙂
m
No, I don’t believe that is possible :(