Export Collection

Export "Robust Authentication" in different formats for sharing or LLM use.

Markdown Preview

# Robust Authentication

> A curated stack collection by [@builtonrails](https://builtonrails.com/@builtonrails)

Multiple auth strategies - from Devise to Rodauth to custom solutions.

## LLM Context

```markdown
You are implementing authentication in a Rails app. Choose the right tool: Devise for quick setup, Rodauth for security-focused apps, or OmniAuth for social logins. Authorization with Pundit or Action Policy.
```

## Stacks

1. **Devise** (Auth)
   - The classic - flexible and well-documented
2. **Rodauth** (Auth)
   - Security-first authentication - more work, more control
3. **OmniAuth** (Auth)
   - Social logins - GitHub, Google, etc.
4. **Pundit** (Auth)
   - Simple policy-based authorization
5. **Action Policy** (Auth)
   - Authorization framework with caching

## Machine-Readable Data

```json
{
  "name": "Robust Authentication",
  "slug": "robust-authentication",
  "description": "Multiple auth strategies - from Devise to Rodauth to custom solutions.",
  "llm_prompt": "You are implementing authentication in a Rails app. Choose the right tool: Devise for quick setup, Rodauth for security-focused apps, or OmniAuth for social logins. Authorization with Pundit or Action Policy.",
  "visibility": "public",
  "author": {
    "username": "builtonrails",
    "name": "BuiltOnRails"
  },
  "forked_from": null,
  "stats": {
    "likes": 0,
    "forks": 0,
    "views": 208
  },
  "stacks": [
    {
      "name": "Devise",
      "category": "Auth",
      "position": 0,
      "note": "The classic - flexible and well-documented"
    },
    {
      "name": "Rodauth",
      "category": "Auth",
      "position": 1,
      "note": "Security-first authentication - more work, more control"
    },
    {
      "name": "OmniAuth",
      "category": "Auth",
      "position": 2,
      "note": "Social logins - GitHub, Google, etc."
    },
    {
      "name": "Pundit",
      "category": "Auth",
      "position": 3,
      "note": "Simple policy-based authorization"
    },
    {
      "name": "Action Policy",
      "category": "Auth",
      "position": 4,
      "note": "Authorization framework with caching"
    }
  ],
  "created_at": "2026-01-22T02:27:33Z",
  "updated_at": "2026-01-22T02:27:33Z",
  "exported_at": "2026-11-03T21:49:07Z"
}
```

---

_Exported from [BuiltOnRails](https://builtonrails.com) on November 03, 2026_
← Back to Collection