#NEWLINE# def get_auth_url( self , redirect_uri ) : #NEWLINE# #INDENT# 'Build the auth url using the params provided\n        and the auth_provider\n\n        Args:\n            redirect_uri (str): The URI to redirect the response\n                to\n        ' #NEWLINE# params = { #NEWLINE# #INDENT# 'client_id' : self . client_id , #NEWLINE# 'scope' : ' ' . join ( self . scopes ) , #NEWLINE# 'response_type' : 'code' , #NEWLINE# 'redirect_uri' : redirect_uri , #NEWLINE# #UNINDENT# } #NEWLINE# return '{}?{}' . format ( self . AUTH_SERVER_URL , urlencode ( params ) )