Skip to content

Conversation

sandhose
Copy link
Member

When we got a callback using the form_post method, MAS would re-POST to itself with the same data.
Problem is, when we serialised that data, we would not skip 'Option::None' values, which would cause the error field to have the none value on repost

Copy link

cloudflare-workers-and-pages bot commented Feb 19, 2025

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: ca63e0b
Status: ✅  Deploy successful!
Preview URL: https://19e810c6.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-upstream-oauth-fix-2n77.matrix-authentication-service-docs.pages.dev

View logs

@sandhose sandhose added A-Upstream-OAuth Related to login via upstream OAuth 2.0 providers T-Defect Something isn't working labels Feb 19, 2025
@sandhose sandhose enabled auto-merge February 19, 2025 14:19
@sandhose sandhose merged commit 6481ae6 into main Feb 19, 2025
27 checks passed
@sandhose sandhose deleted the quenting/upstream-oauth/fix-form-repost branch February 19, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Upstream-OAuth Related to login via upstream OAuth 2.0 providers T-Defect Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant