Skip to content

Switch sign-in flow from GitHub to codebar auth#2717

Open
mroderick wants to merge 1 commit into
masterfrom
feature/switch-auth-to-codebar
Open

Switch sign-in flow from GitHub to codebar auth#2717
mroderick wants to merge 1 commit into
masterfrom
feature/switch-auth-to-codebar

Conversation

@mroderick

Copy link
Copy Markdown
Collaborator

What

Now that /auth/codebar has been proven in production, this change routes all user-facing sign-in entry points to the codebar auth provider instead of GitHub.

Changes

  • ApplicationController#redirect_path now returns /auth/codebar.
  • Navigation "Sign in" link and the Terms & Conditions login link use the helper instead of a hardcoded GitHub path.
  • Remaining hardcoded redirects in AuthServicesController#new and TermsAndConditionsController#update point to /auth/codebar.
  • Updated user-facing copy in config/locales/en.yml from "GitHub" to "codebar".
  • Updated specs, fabricators, and OmniAuth test mocks to exercise the codebar provider.

Verification

  • make test passes: 1153 examples, 0 failures.
  • RuboCop and HAML lint offences are pre-existing only.

Notes

  • AuthServicesController#destroy is intentionally unchanged; it overrides redirect_path to return :services.
  • No new routes, constants, or helpers were introduced.

@mroderick
mroderick force-pushed the feature/switch-auth-to-codebar branch from 19e503c to bbdfd94 Compare July 19, 2026 20:35
@mroderick
mroderick force-pushed the feature/switch-auth-to-codebar branch from bbdfd94 to 7a604b1 Compare July 19, 2026 20:47
@mroderick
mroderick marked this pull request as ready for review July 19, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant