Skip to content

Refresh the UI, remove OAuth social login, and simplify configuration#21

Merged
bartes merged 2 commits into
mainfrom
light-castle-branding
Jun 5, 2026
Merged

Refresh the UI, remove OAuth social login, and simplify configuration#21
bartes merged 2 commits into
mainfrom
light-castle-branding

Conversation

@bartes

@bartes bartes commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

What & why

The demo now focuses on the core Castle authentication flows and is easier to spin up. It drops an unrelated third-party OAuth social login, refreshes the UI to a light theme, and trims configuration down to the two Castle keys a developer actually needs.

Changes

  • UI refresh — restyled to a light theme.
  • Removed the OAuth social login — dropped the OAuth gems, the OAuth route, the callbacks controller, the User OAuth hooks, the social-login button, the related locales and specs. Also removed the now-unused provider/uid columns (schema + migration) and a stale OAuth code comment.
  • Two-key configuration — only CASTLE_API_SECRET and CASTLE_PK are needed; .env.example no longer references anything else.
  • Castle-focused README — describes the demonstrated workflows and points local development at a sandbox environment.
  • Refreshed screenshots to match the new look.

Notes

  • The committed app/assets/builds/tailwind.css is compiled output; regenerate with bin/rails tailwindcss:build if the source changes.

@bartes bartes force-pushed the light-castle-branding branch from df13503 to 5bcdc27 Compare June 5, 2026 15:15
@bartes bartes changed the title Refresh UI with Castle branding, drop Twitter OAuth, simplify config Refresh the UI, remove OAuth social login, and simplify configuration Jun 5, 2026
bartes added 2 commits June 5, 2026 17:32
- Restyle the app to a light theme.
- Remove the OAuth social login so the demo focuses on the core Castle
  flows: drop the OAuth gems, route, callbacks controller, model hooks,
  the social-login button, the related locales and specs (the original
  provider/uid migration is left in place; those columns are unused now).
- Reduce required configuration to CASTLE_PK and CASTLE_API_SECRET.
- Focus the README on the Castle workflows and refresh the screenshots.
Drop the now-unused provider/uid columns from the schema, delete the
migration that added them, and remove a stale code comment referencing
OAuth. No code referenced these.
@bartes bartes force-pushed the light-castle-branding branch from 9204db3 to 58a6d10 Compare June 5, 2026 15:32
@bartes bartes merged commit 9ee9687 into main Jun 5, 2026
1 check passed
@bartes bartes deleted the light-castle-branding branch June 6, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant