Skip to content

Switch authentication to Okta on main - #292

Merged
rsmoke merged 9 commits into
mainfrom
staging
Oct 28, 2026
Merged

rsmoke merged 9 commits into
mainfrom
staging

Conversation

@rsmoke

@rsmoke rsmoke commented Oct 28, 2026

Copy link
Copy Markdown
Member

This pull request introduces several updates focused on dependency management and user authentication attribute mapping. The most significant changes are grouped as follows:

Dependency Updates:

  • Updated the development and test dependencies in the Gemfile to use the latest compatible versions of pry and pry-rails, ensuring better compatibility and debugging support. (Gemfile)

Authentication Attribute Mapping:

  • Modified the attribute mapping in user_params within the Users::OmniauthCallbacksController to use OID-based keys for uid and principal_name, aligning with standard SAML/OIDC practices and improving maintainability. (app/controllers/users/omniauth_callbacks_controller.rb)

Credentials Update:

  • Replaced the encrypted credentials file with a new version, likely reflecting updated secrets or key rotation. (config/credentials.yml.enc)

britaumich and others added 9 commits September 25, 2026 13:56
Provide a 15-slide PPTX with speaker notes for a 30-minute mixed-audience
talk, a timed live-demo click path, and Google Slides import instructions.

Co-authored-by: rsmokeUM <rsmoke@umich.edu>
…-3224

Add LSA Evaluate overview presentation (Google Slides + demo)
Switch authentication from shibboleth to okta
Copilot AI balanced review requested due to automatic review settings October 28, 2026 18:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Removing the origin-to-RelayState mapping breaks private-contest deep-link returns when the SAML callback lacks the original session cookie, sending users to the default page instead.

1 open issue
What changed in this PR

This PR updates LSA Evaluate’s SAML authentication configuration for Okta and aligns user attribute mapping and tests. It also updates debugging dependencies and adds presentation materials.

Changes:

  • Configure environment-specific Okta endpoints and certificates, and update identity attribute mapping.
  • Align authentication test helpers and assertions; update Pry dependencies.
  • Add a presentation generator, import instructions, and live-demo script.
File Description
spec/​support/​auth_helpers.rb Align mock SAML attributes with Okta.
spec/​requests/​users/​omniauth_callbacks_spec.rb Verify UID and principal-name mapping.
Gemfile.lock Lock updated Pry dependencies.
Gemfile Set minimum Pry and pry-rails versions.
docs/​presentation/​README.md Document presentation generation and import.
docs/​presentation/​DEMO_SCRIPT.md Add a timed application demo walkthrough.
docs/​presentation/​build_pptx.py Generate a 15-slide overview with speaker notes.
config/​initializers/​devise.rb Configure Okta SAML endpoints, certificates, and attributes.
config/​credentials.yml.enc Replace encrypted credentials.
app/​controllers/​users/​omniauth_callbacks_controller.rb Map UID and principal name using standard SAML OIDs.

Review effort: Balanced

Comment thread config/initializers/devise.rb Resolved
@rsmoke
rsmoke merged commit 72ec421 into main Oct 28, 2026
11 of 12 checks passed

This branch was successfully deployed

1 active deployment
staging — a2ff6522 Deployed Oct 28, 2026 by hatchbox-io[bot]
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.

4 participants