code: def authorized_default_handler(resp, remote, *args, **kwargs):
      
      response_token_setter(remote, resp)
      db.session.commit()
      return redirect(url_for('invenio_oauthclient_settings.index'))
docs: Store access token in session.
  
      Default authorized handler.
  
      :param remote: The remote application.
      :param resp: The response.
      :returns: Redirect response.