Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.08 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.08 KB

oauth-haystack

PyPI - Version PyPI - Python Version


Contributing

Refer to the general Contribution Guidelines.

The integration test resolves a token against a real identity provider and is skipped unless the required environment variables are set. To run it locally, export:

  • OAUTH_TOKEN_URL — the provider's OAuth 2.0 token endpoint.
  • OAUTH_CLIENT_ID — the OAuth client identifier.
  • OAUTH_REFRESH_TOKEN — a valid refresh token for that client.
  • OAUTH_CLIENT_SECRET — (optional) the client secret for confidential clients; omit it for public clients.
  • OAUTH_SCOPES — (optional) space-separated scopes to request.

Then run:

hatch run test:integration