#NEWLINE# def register_with_dynamic_provider( self , session , uid ) : #NEWLINE# #INDENT# issuer_url = session [ 'client' ] . wf . discovery_query ( uid ) #NEWLINE# provider_info = session [ 'client' ] . provider_config ( issuer_url ) #NEWLINE# session [ 'client' ] . register ( self [ 'registration_endpoint' ] , ** self . client_metadata )