Skip to content
Interfaceplugin-oauthv0.1.0

OAuthRoutes

The paths of the two login routes under baseUrl.

interface OAuthRoutes

Properties

callback

The route that Discord sends the visitor back to. 'oauth/callback' when you leave it out. Its full address has to be under Redirects on the application's OAuth2 page.

callback?: string | undefined

login

The route that sends a visitor to Discord. 'oauth/login' when you leave it out.

login?: string | undefined