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

Disable parameter wrapping in TokensController #42

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

k-p-jones
Copy link
Contributor

As mentioned in #8, the default rails behaviour for wrapping parameters was causing an unpermitted parameter message to appear in the server logs for requests made to the TokensController. This PR disables that behaviour so rails will no longer inject token: {} into the request params.

While I was in the repo I also fixed the 4 failing specs in token_response_spec and dried them up a little bit.

@nejdetkadir
Copy link
Owner

thank u for your PR ❤️

@nejdetkadir nejdetkadir self-requested a review June 12, 2024 06:11
@nejdetkadir nejdetkadir merged commit 006bdde into nejdetkadir:main Jun 12, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants