e242701ed0
Try creating a new unique username a few times, before giving up.
2016-05-30 15:42:11 +02:00
a5288bd35c
Don't overwrite fullname from B'ID upon login.
2016-05-30 11:41:39 +02:00
bd300f6f5e
Pass user's _etag when updating.
2016-05-17 14:06:38 +02:00
8d273de4d8
Reduced noisy logging when auth tokens have expired.
2016-05-09 11:28:12 +02:00
7b0c037529
Debug-log the subclient ID too
2016-05-04 14:06:27 +02:00
fb0629dcb0
Make logging less verbose for blender_id in production
2016-05-03 15:19:29 +02:00
d808b76d65
Store is_subclient_token bool in token collection.
2016-04-15 16:27:24 +02:00
36b31fee7c
Missed one BlenderID API change
2016-04-15 12:33:26 +02:00
0bdd3b0a31
Updated for changes in BlenderID validate_token URL and response.
...
See BlenderID change 432034f858fbfd695f3ce0a0b3724524de7a05bb
2016-04-15 12:19:43 +02:00
66eeb25529
Unify tokens and subclient tokens
...
SCST tokens are now stored in the 'tokens' table.
This unifies old token handling and new subclient-specific tokens.
Also ensures the BlenderID expiry of the token is taken into account.
Removes use of httpretty, in favour of responses.
2016-04-13 15:33:54 +02:00
e898fe0315
Use Blender ID subclient-specific token to find the user.
...
TODO: also store expiry timestamp
TODO: allow multiple subclient-specific tokens per user
2016-04-12 16:53:27 +02:00
bd8e0e56a4
Security: don't log subclient token.
2016-04-12 16:05:37 +02:00
aeee165ad8
subclient tokens: bugfix & return proper data.
...
Also introduces responses, as an alternative to httpretty (it works
better).
2016-04-12 15:24:50 +02:00
3d9fe76271
Added subclient token verification & storage.
2016-04-08 18:45:35 +02:00