def set_oauth_session(self, provider, oauth_response):
        """Store the ouath token in the session for later retrieval.

        In this example, the token is only required to send a tweet.
        """
        res = super().set_oauth_session(provider, oauth_response)
        # DON'T DO THIS IN PRODUCTION, SAVE TO A DB IN PRODUCTION
        if provider == "twitter":
            session["oauth_token"] = oauth_response
        return res
Store the ouath token in the session for later retrieval.

        In this example, the token is only required to send a tweet.
        
examples/oauth/app/security.py