Plus in email address not matched correctly

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
java
Domain
authorization

Research direction

Start by reproducing the reported case on the current PDP: add [email protected] to an authorization rule and authenticate as that address. Trace the authorization email-matching path to determine where the plus address stops matching. Done means the configured address is recognized correctly and a regression test covers the case.

Written by the indexing model from the issue text.

Description

Melding van UL (CXT-85236):

Het lijkt er ook op dat mailadressen met een ‘+’ erin niet als zodanig worden herkend door autorisatieregels. Als we bijvoorbeeld ‘[email protected]’ in de autorisatieregel hadden gezet als user die wel naar binnen mocht, dan werd dit niet herkend als deze user authentiseerde. Wellicht is dit ook nog een bug waar jullie naar kunnen kijken?

Moet nog even kijklen of ik dit op de huidige PDP nog kan reproduceren.

Dominant language
Java
Stars
9
Forks
7
PR merge metrics
No merged PRs in 30d

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-pdp

All issues in OpenConext/OpenConext-pdp

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.