Skip to content
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

Bad request response #1

Open
drudilea opened this issue Dec 1, 2023 · 0 comments
Open

Bad request response #1

drudilea opened this issue Dec 1, 2023 · 0 comments

Comments

@drudilea
Copy link

drudilea commented Dec 1, 2023

When I try to make a request with an invalid or previously used code (authorization_code), this post with the slash "/" generates a problem in the axios request returning a 403 Bad Request.

I have solved it by changing this string by an empty string "" and this way I get the error 400 with the description "The authorization code has expired", which seems more accurate to me.

I don't know if it is an update of the library or it just happened to me but I leave the issue in case it happens in all cases.

https://github.com/TiendaNube/tiendanube-app-standalone-template-node/blob/c917686d78d1995fa868c4b89836a57aa736606e/api/src/features/auth/install-app.service.ts#L40C49-L40C49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant