Don't hardcode the jwks url

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by reviewing pull request #80 and the code path that currently uses the hardcoded JWKS URL. Trace how the OpenID configuration URL is handled, then verify that the JWKS URL is obtained from that configuration and that the existing authentication flow still works.

Written by the indexing model from the issue text.

Description

This pull request hardcodes the jwks url we use for expediency:

https://github.com/mozilla/PyFxA/pull/80

We should instead fetch the openid-configuration url to get the jwks url.

Dominant language
Python
Stars
36
Forks
22
PR merge metrics
No merged PRs in 30d

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.

More from mozilla/PyFxA

All issues in mozilla/PyFxA

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.