haystack-core-integrations/integrations/oauth at main · deepset-ai/haystack-core-integrations · GitHub
Skip to content

Latest commit

 

History

History

oauth

Folders and files

README.md

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