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
So we need to send a separate request to PATCH /session/account/profile
As signUp (creating account) is separated from signIn (creating session), we can't send a Authorization: Bearer ... token. I would suggest we allow to authenticate traditionally with Authoriziation: Basic ... as well, so we would send headers.authorization = 'Basic ' + base64encode('pat:secret')
Currently, a user can not sign up and pass profile properties. This will fail
The reason is that JSON API currently does not allow for multiple actions in a single request
So we need to send a separate request to
PATCH /session/account/profile
As signUp (creating account) is separated from signIn (creating session), we can't send a
Authorization: Bearer ...
token. I would suggest we allow to authenticate traditionally withAuthoriziation: Basic ...
as well, so we would sendheaders.authorization = 'Basic ' + base64encode('pat:secret')
Authentication with
Basic ...
and alsoToken ...
will be required for the admin client, too: https://github.com/hoodiehq/hoodie-client-account/tree/master/adminThe text was updated successfully, but these errors were encountered: