mozilla-iam / mozilla-iam/auth0-deploy

Create rule which logs RP scope requests

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
6
Forks
21
Avg merge
17h 49m
Merged PRs (30d)
5

Description

As a continuation of #269

We should

  • create another rule that logs what OAuth scopes that RPs request of us
  • gathering a body of logs so we can determine what scopes RPs request
  • based on this data determine if we can change our logic from
    • give custom claims to all RPs that request any combination of scopes other than "only `openid" to
    • give custom claims to RPs that request profile scope

To do this will depend upon us validating that there are no RPs which

  • don't request profile scope
  • expect to receive custom claims

An example of this would be an RP that requests openid and email and expects to receive custom claims.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reviewing issue #269 and the existing custom-claims logic referenced here. Define how the new rule will log requested OAuth scopes, then validate the logs against the listed RP cases. Done means there is enough data to decide whether custom claims should require the profile scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.