code: def setup_auth_paths(app, auth, prefix, params):
      
      base = urljoin('/', prefix + '/')  # Must end in slash
      app.add_url_rule(base + 'login', prefix + 'login_handler',
                       auth.login_handler, defaults=params)
      app.add_url_rule(base + 'logout', prefix + 'logout_handler',
                       auth.logout_handler, defaults=params)
      if (auth.client_id_handler):
          app.add_url_rule(base + 'client', prefix + 'client_id_handler',
                           auth.client_id_handler, defaults=params)
      app.add_url_rule(base + 'token', prefix + 'access_token_handler',
                       auth.access_token_handler, defaults=params)
      if (auth.home_handler):
          app.add_url_rule(base + 'home', prefix + 'home_handler',
                           auth.home_handler, defaults=params)
docs: Add URL rules for auth paths.