Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Support passwordless JSON logins #515

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

daonb
Copy link

@daonb daonb commented May 9, 2016

Only the first phase of the passwordless login supported JSON based requests.
The login itself, usually done by clicking on the link in the login email,
supported only html requests and always responded with a Set-Cookie header.
Now the login itself can be sent with application/json in the Accept header
resulting in a JSON response that contains authorization_token in the
user attribute contained in the response attribute.

Only the first phase of the passwordless login supported JSON based requests.
The login itself, usually done by clicking on the link in the login email,
supported only html requests and always responded with a `Set-Cookie` header.
Now the login itself can be sent with `application/json` in the `Accept` header
resulting in a JSON response that contains `authorization_token` in the
`user` attribute contained in the `response` attribute.
@coveralls
Copy link

coveralls commented May 9, 2016

Coverage Status

Coverage increased (+0.06%) to 94.344% when pulling 9b431e3 on Beit-Hatfutsot:develop into 301fc03 on mattupstate:develop.

This allows API servers to override of the server address in the template.
@coveralls
Copy link

coveralls commented May 10, 2016

Coverage Status

Coverage increased (+0.06%) to 94.344% when pulling 1fc251d on Beit-Hatfutsot:develop into 301fc03 on mattupstate:develop.

when we are passwordless and we get an email of a non-regitered email we create
the user.
@coveralls
Copy link

coveralls commented May 22, 2016

Coverage Status

Coverage decreased (-0.1%) to 94.156% when pulling f040440 on Beit-Hatfutsot:develop into 301fc03 on mattupstate:develop.

@coveralls
Copy link

coveralls commented May 25, 2016

Coverage Status

Coverage decreased (-0.3%) to 94.023% when pulling bdd9205 on Beit-Hatfutsot:develop into 301fc03 on mattupstate:develop.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants