code: def store_tokens(self, access_token, id_token):
          
          session = self.request.session
  
          if self.get_settings('OIDC_STORE_ACCESS_TOKEN', False):
              session['oidc_access_token'] = access_token
  
          if self.get_settings('OIDC_STORE_ID_TOKEN', False):
              session['oidc_id_token'] = id_token
docs: Store OIDC tokens.