pub static VALIDATE_URL: Lazy<Url>
Expand description
Validation URL (https://id.twitch.tv/oauth2/validate
) 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_VALIDATE_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.