Closed dchukhin closed 5 years ago
Yes, it looks like extra_data
stores an object that looks like:
{
'auth_time': '',
'id_token': '',
'refresh_token': '',
'id': '',
'access_token': '',
'token_type': '',
}
(with the values filled in)
This pull request:
social-auth-app-django
log the user in by using theVMIOAuth2Backend
ShareMyHealthOAuth2Backend
, for authenticating tohttps://alpha.sharemy.health
, very similarly to the way it authenticates to VMI, using thesocial-auth-app-django
library'sharemyhealth'
(https://alpha.sharemy.health
)sharemyhealth'
, which either stores a sharemyhealth token for the user in the database, or removes the sharemyhealth token for the user from the database. The token can be accessed by:To test locally: