Every release shipped to rs-auth, pulled directly from GitHub and rendered here.
GET /auth/link/{provider} — initiate OAuth link for authenticated usersGET /auth/accounts — returns provider accounts without sensitive tokensPOST /auth/accounts/{id}/unlink — with safety check preventing last auth method removalservice.refresh_oauth_token() — refresh stored OAuth tokens using refresh token grantAuthEvent enum with 11 lifecycle events (signup, login, logout, verification, OAuth, sessions)EventEmitter with multi-subscriber, fire-and-forget hook supportRateLimiter with NoOpRateLimiter default, ready for custom implementationscargo-release config for workspace publishingrequire_auth middleware + CurrentUser extractor (ADR-0002)| Method | Path | Auth | Description |
|---|---|---|---|
| GET | /auth/link/{provider} | Required | Initiate OAuth account link |
| GET | /auth/accounts | Required | List linked provider accounts |
| POST | /auth/accounts/{id}/unlink | Required | Unlink a provider account |
AccountStore trait gains update_account() methodOAuthState/NewOAuthState gain intent and link_user_id fieldsAuthService gains events field (defaults to empty emitter)AuthService::new() signature unchanged; use with_events() for hooks006_oauth_states_intent.sql: Adds intent and link_user_id columns to oauth_statesFull Changelog: https://github.com/rs-auth/rs-auth/compare/v0.1.1...v0.1.2
Full Changelog: https://github.com/rs-auth/rs-auth/compare/v0.1.1...v0.1.2
rs-auth 0.1.1 stabilizes the current Google and GitHub OAuth surface and improves the local testing experience.
rs-auth - facade craters-auth-core - auth service, store traits, and OAuth/domain logicrs-auth-postgres - SQLx-backed PostgreSQL stores and migrationsrs-auth-axum - Axum router, cookie sessions, middleware, and OAuth handlersrs-auth is now available on crates.io.
rs-auth - facade craters-auth-core - auth service, store traits, OAuth primitivesrs-auth-postgres - SQLx-backed PostgreSQL stores and migrationsrs-auth-axum - Axum router, cookie sessions, and OAuth handlers