Closed sn3akyb3ar closed 1 year ago
Jep I get the same error:
Send:
{
"email": ".....",
"password": "......",
"api": "20200115"
}
---------------------
Recieved:
{"error":{"message":"Please update your client application."}}
will look into it this weekend
btw sorry I didn't respond earlier - it seems github stopped sending me emails when issues are created?
Okay the corresponding check is here:
The cli project has the same issue: https://github.com/jonhadfield/sn-cli/issues/33
Ok seems like the new flow seems to be (taken from the web app):
codeVerifier
base64(sha256(codeVerifier))
code_challenge: "..."
in json body of request to /login-paramscode_verifier: "..."
in json body of request to /loginThen everything should work again - kinda annoying that this is not a new api version and is not even documented anywhere...
Okay, it really looks like SN changed even more in the auth flow - this sucks....
(don't try the newest pre release, it doesn't work either)
I guess they changed something?