Skip to content

Support per-SP reset "remember my choice" entries for the WAYF #346

Description

@baszoetekouw

Not for direct implementation! In the icebox for now.

In OpenConext/OpenConext-engineblock#1956 we describe a feature where a user can specify per SP which IdP they want to use. On a next login to that SP, the preferred IdP will be used automatically without user interaction.

This story will allow a user to reset that choice for each individual SP.

The settings of which SP should use which IdP are stored in a cookie rememberedidps which is set on the main OpenCOnext domain (so if profile lives on https://profile.openconex.dev the cookie lives on the .openconext.dev domain).

The cookie is a base64-encoded deflated json structure like this:

{
  "https://sp_entityid_1": { "idp": "https://idp_entityid_1", "time": 1784534287 },
  "https://sp_entityid_2": { "idp": "https://idp_entityid_2", "time": 1784512345 }
}

In profile, the presence of this cookie should enable the following:

  • In the list of Applications (https://profile.test2.surfconext.nl/my-services) show an icon for apps that have a "remember setting"

    Image
  • After opening that item, show the remembered IdP choice underneath login details and provide the user with the option to reset it:

    Image
  • After reset, show a feedback message:

    Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions