@danhachuel/thunderbolt 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hermes_ui/canva_auth.py +4 -1
- package/package.json +1 -1
package/hermes_ui/canva_auth.py
CHANGED
|
@@ -61,7 +61,10 @@ def authorization_url(client_id: str, redirect_uri: str, scope: str | list[str]
|
|
|
61
61
|
scope_string = " ".join(scope_value) if isinstance(scope_value, (list, tuple)) else " ".join(str(scope_value or "").split())
|
|
62
62
|
params = {
|
|
63
63
|
"code_challenge": code_challenge,
|
|
64
|
-
|
|
64
|
+
# A Canva e a RFC 7636 definem o identificador do método com esta
|
|
65
|
+
# capitalização exacta: S256. O valor minúsculo pode abrir o
|
|
66
|
+
# consentimento, mas impedir a conclusão do fluxo OAuth.
|
|
67
|
+
"code_challenge_method": "S256",
|
|
65
68
|
"scope": scope_string,
|
|
66
69
|
"response_type": "code",
|
|
67
70
|
"client_id": str(client_id).strip(),
|
package/package.json
CHANGED