OAuth gateway does not show error messages
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- authentication, frontend
Research direction
Reproduce the OAuth application submission in the documentation site with a mismatched redirect URI, then inspect how the 400 response is handled. Done means the page displays a useful error message instead of appearing to do nothing.
Written by the indexing model from the issue text.
Description
I have deployed an OAuth application that uses https://auth.monzo.com/, but I forgot to add the production redirect URL. This means that login does not work.
When I click the "Submit" button, nothing happens.
Using the web inspector I can see that the button is initiating a web request which is receiving a 400 status code with the payload:
{
"code": "bad_request.bad_param.redirect_uri",
"message": "Mismatched redirect_uri"
}
This makes sense given the error I made, but no error message was shown. It would be great to at least have a generic error message, the literal message provided here might be even better (if not understandable by most).
- Dominant language
- SCSS
- Stars
- 116
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from monzo/docs
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
-
Postman CollectionOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
good first issue hacktoberfest help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
libredb/libredb-studio#1291 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
elsa-workflows/elsa-core#8593 ·
Maintainers usually reply within 1 day
-
uk-ai-advisory uk-ai-advisory:operational-resilience
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
githubnext/gh-aw-cao#16035 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
MetaMask/eth-phishing-detect#299509 ·
Maintainers usually reply within 1 day
-
component:blaze
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentic-os-org/ANOLISA#4511 · 1 comment ·
Maintainers usually reply within 1 day