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

BUGFIX Summary submit which cleans checked scopes not included by default #145

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

skelz0r
Copy link
Member

@skelz0r skelz0r commented Apr 4, 2024

This is a known limitation of the HTTP protocol: the specification ignores checkbox checked and disabled (context/source https://www.ruby-forum.com/t/check-box-tag-and-disabled-disabled-problem/59023/2)

The previous version tackles this by including an hidden input for included scopes (which are disabled by default) when we are currently filling the authorization request (ref f6a9ace)

However, when we are on the summary page, all checkboxes are disabled, so we have to include this hidden input too on previous checked scopes, for the same reason as described above.

@skelz0r skelz0r self-assigned this Apr 4, 2024
@skelz0r skelz0r requested review from mehdi-farsi and Isalafont April 4, 2024 10:07
@skelz0r skelz0r force-pushed the bugfix/scopes-cleaned branch from cc55719 to e1c1854 Compare April 4, 2024 11:12
…ault

This is a known limitation of the HTTP protocol: the specification ignores checkbox
checked and disabled (context/source https://www.ruby-forum.com/t/check-box-tag-and-disabled-disabled-problem/59023/2)

The previous version tackles this by including an hidden input for included scopes (which are disabled by default) when we are currently filling the authorization request
(ref f6a9ace)

However, when we are on the summary page, all checkboxes are disabled,
so we have to include this hidden input too on previous checked scopes,
for the same reason as described above.
@skelz0r skelz0r force-pushed the bugfix/scopes-cleaned branch from e1c1854 to e57bd92 Compare April 4, 2024 13:56
@skelz0r skelz0r merged commit b098879 into develop Apr 8, 2024
6 of 7 checks passed
@skelz0r skelz0r deleted the bugfix/scopes-cleaned branch April 8, 2024 08:53
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.

2 participants