mitodl / ol-keycloak

Custom theme and extensions for Keycloak SSO
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Added support for reset password prompt on login #36

Closed rhysyngsun closed 7 months ago

rhysyngsun commented 7 months ago

What are the relevant tickets?

Part of https://github.com/mitodl/hq/issues/3473

Description (What does it do?)

This adds the functional behavior for prompting the user to reset their password if they're attempting to login but don't have a password set or any other credential mechanism (e.g. touchstone).

Note: this does not address any look and feel discrepancies vs the designs, it is purely a functional change.

I also added some limited nix flake setup for me to have a workable local dev environment - it doesn't impact functionality here.

Screenshots (if appropriate):

If you don't have "forgot password" enabled for the realm: Screenshot 2024-03-01 at 13-12-22 MIT Open

If you do have it enabled: Screenshot 2024-03-01 at 13-29-28 MIT Open

How can this be tested?

rhysyngsun commented 7 months ago

@collinpreston done