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

clitoken: Callback accepts GET only #53

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

lstoll-sfdc
Copy link
Contributor

We've started seeing cases where an OPTIONS request (for CORS) is being made, which triggers the "multiple callback" error. This doesn't break anything, but it is annoying.

Make the callback handler handle GET method only. At some point we should probably add a CORS handler too.

Move mod to 1.22 for the new Mux pattern used, and update other deps while here.

We've started seeing cases where an OPTIONS request (for CORS) is being made,
which triggers the "multiple callback" error. This doesn't break anything, but
it is annoying.

Make the callback handler handle GET method only. At some point we should
probably add a CORS handler too.

Move mod to 1.22 for the new Mux pattern used, and update other deps while
here.
@lstoll-sfdc lstoll-sfdc merged commit c982e42 into main Mar 21, 2024
2 checks passed
@lstoll-sfdc lstoll-sfdc deleted the lstoll-ignore-callback-options branch March 21, 2024 10:39
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