pub static AUTH_URL: Lazy<Url>
Expand description
Authorization URL (https://id.twitch.tv/oauth2/authorize
) for id.twitch.tv
Can be overridden when feature mock_api
is enabled with environment variable TWITCH_OAUTH2_URL
to set the root path, or with TWITCH_OAUTH2_AUTH_URL
to override the base (https://id.twitch.tv/oauth2/
) url.
ยงExamples
Set the environment variable TWITCH_OAUTH2_URL
to http://localhost:8080/auth/
to use twitch-cli
mock endpoints.