Files
Ikraam GhoorandGitHub 84d95e69ed Add OAuth2 support for local plugin preview (#118)
* Add OAuth2 support for local plugin preview

Preview private plugins that fetch data with a user's authorization. Configure a provider in the .trmnlp.yml oauth: block, set TRMNL_OAUTH_CLIENT_SECRET in the environment, and register http://localhost:4567/oauth/callback as the redirect URI. trmnlp serve shows a Connect banner that runs the authorization code flow in the browser, stores tokens in the cache dir, and refreshes them before they expire. The access token renders into polling templates as {{ oauth_access_token }}, matching the hosted service.

* Mark OAuth2 support as beta and request bug reports

Label the feature beta in the changelog, README, and the dev-server banner, and link the GitHub issue tracker so incorrect behaviour gets reported.

* Read OAuth config from settings.yml so it round-trips with push and pull

* Bump version to 0.9.0
2026-07-05 22:45:49 +01:00
..
2026-05-18 13:18:59 +01:00