Skip to content

OAuth gateway does not show error messages #68

@danpalmer

Description

@danpalmer

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.

screenshot 2017-08-17 16 44 23

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions