Skip to content

Error Description doesn't match with the actual error #7

Description

@abroa01

The error message Shown on screen to the user by server does not accurately reflect the root cause, making it difficult to debug.

For instance , the actual Error:

The redirect_uri provided in the authorization request does not match the value configured on the server.

Example auth URL generated -

https://fhirr4sandbox.webch.art/webchart.cgi/oauth/authenticate/?
response_type=code&
redirect_uri=http%3A%2F%2Flocalhost%3A3001%2Fcb&scope=launch%2Fpatient+openid+fhirUser+offline_access+patient%2F%2A.read&
state=W_hxmTHJzEr72k_VW8iLa_l8BdDIF5EWRwNFnTvp83I&aud=https%3A%2F%2Ffhirr4sandbox.webch.art%2Fwebchart.cgi&
client_id=MIE-localhost

Error I am getting -

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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