Feature request: handle prompt=select_account in a more graceful way

Open
#366 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
java

Research direction

Start by reading the OpenID Connect Authorization Endpoint specification and the related issue #143. Determine the intended behavior for requests containing prompt=select_account, including how an active session with one account should be handled, and define acceptance tests for the chosen graceful outcome.

Written by the indexing model from the issue text.

Description

Relates to: https://github.com/OpenConext/OpenConext-oidcng/issues/143
Relevant specs: https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint

I have an RP that sends prompt=select_account and has no possibility to control this parameter. Would it be possible to handle this situation more graceful than throwing an exception?

Specs say "The Authorization Server SHOULD prompt the End-User to select a user account"... SHOULD perhaps leaves a little room for a creative solution?  Like assume there's only one account for an active session and silently use that one?

I'm now stripping the prompt-parameter from the request entirely using mod_rewrite, but this is obviously a sub-optimal solution

Dominant language
Java
Stars
4
Forks
6
Avg merge
4d 1h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenConext/OpenConext-oidcng

All issues in OpenConext/OpenConext-oidcng

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.