mozilla-iam / mozilla-iam/auth0-deploy
Create rule which logs RP scope requests
Open
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
profilescope
To do this will depend upon us validating that there are no RPs which
- don't request
profilescope - 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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