You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Form options (CSV/JSON) are currently passed through the OAuth state string parameter. This complicates passing state and is nonstandard. Instead, we should be storing this state locally with the state token as a key (and ideally validating the request):
If state is used for carrying application state, and integrity of its contents is a concern, clients MUST protect state against tampering and swapping. This can be achieved by binding the contents of state to the browser session and/or signed/encrypted state values
Thank for the issue, I totally agree. The code is from 7 years ago and I remember having issues with passing the state around and my hack/workaround to solve it.
@dltn This improvement ticket hasn't been tackled in #9 afaik. From your comment:
This PR encodes the archive option in the existing "format string" – which isn't ideal, but minimizes the changes needed to keep compatibility. I don't want to bloat this PR further, so I created #11 to track this.
I'm currently not planning to work on this (prioritizing other projects), but I'm fine with keeping valid tickets open.
Form options (CSV/JSON) are currently passed through the OAuth
state
string parameter. This complicates passing state and is nonstandard. Instead, we should be storing this state locally with thestate
token as a key (and ideally validating the request):See:
The text was updated successfully, but these errors were encountered: