-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing legacy COA mapping + fixing access_denied mapping #1266
Conversation
"logToConsole": true, | ||
"code": "invalid_user_password", | ||
"description": "foobar", | ||
"error": "invalid_user_password", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason behind having code and error with the same values? Shouldn't you keep 1, code
probably?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why it is like this. Can't change this now though.
const expectedError = { | ||
code: 'invalid_user_password', | ||
error: 'invalid_user_password', | ||
description: error.description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use description: 'foobar'
instead of error.description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
No description provided.