Change8

auth@0.2.0

📦 remixView on GitHub →
2 features🔧 6 symbols

Summary

This release introduces support for Atmosphere OAuth flows via `createAtmosphereAuthProvider` and adds the ability to refresh tokens using `refreshExternalAuth` across built-in providers.

Migration Steps

  1. When using Atmosphere provider, create the provider once with shared options, call `provider.prepare(handleOrDid)` only before `startExternalAuth()`, and pass the module-scope provider directly to `finishExternalAuth()` and `refreshExternalAuth()`.

✨ New Features

  • Added `createAtmosphereAuthProvider(options)` to support atproto OAuth flows against Atmosphere-compatible authorization servers.
  • Added `refreshExternalAuth()` to `@remix-run/auth` to allow apps to exchange stored refresh tokens for fresh OAuth and OIDC token bundles.

Affected Symbols