Skip to content

Ruby 3.4 / Delints / Spec Tidying#411

Closed
cycomachead wants to merge 8 commits into
mainfrom
cycomachead/1-switch-snap-login-provider/1
Closed

Ruby 3.4 / Delints / Spec Tidying#411
cycomachead wants to merge 8 commits into
mainfrom
cycomachead/1-switch-snap-login-provider/1

Conversation

@cycomachead

@cycomachead cycomachead commented Apr 14, 2026

Copy link
Copy Markdown
Member

Work In Progress

  • Update base ruby to 3.4
  • Update rubcop and others to avoid errors or extra depreciations

cycomachead and others added 8 commits April 14, 2026 16:21
Replaces the Discourse forum SSO provider with Snap!Cloud's SSO endpoint.
Since Snap!Cloud implements the same Discourse SSO protocol, this change
updates the configuration URLs and environment variables while
maintaining backward compatibility for the SSO secret.

- Update SSO URL to point to snap.berkeley.edu API
- Introduce OSEM_SNAP_SSO_SECRET and OSEM_SNAP_SSO_URL env vars
- Fix provider detection logic to only require a secret for Discourse
- Remove outdated "log in twice" UI warning
- Add Discourse mock authentication for development and testing

Co-authored-by: Claude Code <noreply@anthropic.com>
Revert custom provider detection logic in favor of using a placeholder OSEM_DISCOURSE_KEY. This aligns Snap!Cloud SSO with the existing OSEM provider pattern while documenting that only the secret is required for the actual handshake.

Co-authored-by: Claude Code <noreply@anthropic.com>
@cycomachead cycomachead changed the title Switch 'log in with snap' feature from Discourse SSO to Snap!Cloud provider Ruby 3.4 / Delints / Spec Tidying Apr 23, 2026
@cycomachead cycomachead marked this pull request as draft April 24, 2026 03:07
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