def set_oauth_session(self, provider, oauth_response):
<EOL>token_key = self.appbuilder.sm.get_oauth_token_key_name(provider)<EOL>token_secret = self.appbuilder.sm.get_oauth_token_secret_name(provider)<EOL>session["<STR_LIT>"] = (<EOL>oauth_response[token_key],<EOL>oauth_response.get(token_secret, "<STR_LIT>"),<EOL>)<EOL>session["<STR_LIT>"] = provider<EOL>
Set the current session with OAuth user secrets