Authorize server
Last updated
Was this helpful?
Last updated
Was this helpful?
Authorize a Cloud user to access a ZenML server.
This endpoint is called by workspace ZenML servers and possibly other authorized workspace-level services to validate that they have permissions to access a ZenML Pro workspace. This is also the endpoint called in the second phase of the workspace authorization flow for web clients.
Args: request: The HTTP request server_id: ZenML server ID auth_context: Authentication context workspace_manager: Workspace manager
Returns: The currently authenticated user.
Raises: IllegalOperationError: If a workspace authorization token is used that was not issued for the given workspace.
User model for displaying user information.