Skip to main content

oauth-token-url-https-only

Flags an OAuth2 flow tokenUrl that is not an absolute HTTPS URL.

AttributeValue
CategorySecurity
MaturityPlatinum
LenientWarning
Recommended–CompleteError

See it fail

flows:
clientCredentials:
tokenUrl: http://auth.example.org/token

Fix it

Use https://auth.example.org/token.

Nearby: oauth-authorization-url-https-only, hosts-https-only.