Safire Documentation

Gem Version CI

A lean Ruby gem implementing SMART App Launch and UDAP protocols for clients.

Quick Navigation

Section Description
Getting Started Install Safire and quick start guide
Configuration All configuration options and parameters
SMART App Launch (Public, Confidential Symmetric, Confidential Asymmetric) and Backend Services
UDAP UDAP protocol overview and planned support
Security Guide HTTPS, credential protection, token storage, key rotation
Advanced Examples Caching, multi-server, token management, complete Rails integration
Troubleshooting Common issues and solutions
Safire API Docs Complete YARD documentation

Features

SMART App Launch

  • Discovery (/.well-known/smart-configuration)
  • Public Client (PKCE)
  • Confidential Symmetric Client (client_secret + Basic Auth)
  • Confidential Asymmetric Client (private_key_jwt with RS384/ES384)
  • POST-Based Authorization
  • Backend Services (client_credentials grant, JWT assertion, no user interaction or PKCE)

UDAP

Planned. See ROADMAP.md for details (coming soon).

Demo Application

A Sinatra-based demo app is included to help you explore Safire’s features:

bin/demo

Visit http://localhost:4567 to test SMART discovery, authorization flows, token management, and backend services token requests.

See examples/sinatra_app/README.md for details.

Community


Last updated: April 16, 2026

Parts of this project were developed with AI assistance (Claude Code) and reviewed by maintainers.


Back to Top ↑

This site uses Just the Docs, a documentation theme for Jekyll.