Search by

splash / oauth2

BadPixxel

Splash Oauth2 Features for API Connectors

Package info

gitlab.com/SplashTools/oauth2

Type:symfony-bundle

pkg:composer/splash/oauth2

Statistics

Installs: 8 958

Dependents: 3

Suggesters: 0

Stars: 0

3.0.x-dev 2026-10-14 15:28 UTC

This package is auto-updated.

Last update: 2026-10-14 13:28:50 UTC


README

Oauth2 features for Splash Connectors: the authorization flow, token storage, refresh and revocation, with nothing to write on the Connector side but the Provider endpoints.

The bundle is designed to run the same way from a Toolkit request, from the Cli, and from a Connector compiled as a Bridge worker (.splx): no Http session, no cookie, no reliance on the local router. The whole Oauth2 state lives in a signed state parameter and in the Connector configuration.

composer require splash/oauth2

Documentation

  • Getting started — install, the four pieces of an OAuth2-aware connector
  • Applications — shared vs private applications, rules enforced by the bundle
  • The OAuth2 flow — routes, self-carried state, request-derived redirect uri, stateless PKCE, errors
  • Bridge compatibility contract — constraints to run inside a Bridge worker
  • Reference — connector parameters, bundle configuration, key classes, development & tests

The demo connector under demo/ is the reference implementation. AI coding agents: see llms.txt, and the splash-connector skill (splash/skills).

Development & tests

The repository ships a complete environment: a Toolkit hosting the demo connector natively and as a compiled worker, and an OAuth2 secured OpenApi Sandbox acting as the authorization server (docker/, make up). make quality before any commit, make test for the whole suite.

License

MIT - See LICENSE