#NEWLINE# def complete_login( self , request , app , token , **kwargs ) : #NEWLINE# #INDENT# headers = { #NEWLINE# #INDENT# 'Authorization' : 'Bearer {0}' . format ( token . token ) , #NEWLINE# #UNINDENT# } #NEWLINE# resp = requests . get ( self . profile_url , headers = headers ) #NEWLINE# extra_data = resp . json ( ) #NEWLINE# return self . get_provider ( ) . sociallogin_from_response ( request , extra_data )