Skip to content
Restrict ChatGPT OAuth access to specific Railway projects
stonezhouxl
OP

3 hours ago

Is it possible to retain the ChatGPT Railway connector while restricting its existing workspace:member OAuth grant from accessing or modifying specific projects or environments?

Specifically:

  1. Can workspace or project access be selectively removed without revoking the entire application authorization?
  2. Can the connector be granted read-only access instead?
  3. Can workspace administrators independently inspect all existing Automations, Cloud Agents and Connector Tunnels, including dormant configurations, through the dashboard, CLI or GraphQL API?

What is the simplest supported solution without upgrading to Enterprise?

Solved

1 Reply

Railway
BOT

3 hours ago

Workspace and project access for an OAuth app is chosen on the consent screen, so a single project or environment can't be removed from an existing grant on its own. To narrow it, revoke the ChatGPT connector from Authorized Applications and reconnect it, selecting only the workspaces you want to share. Access is granted per workspace or per project, not per environment.

Read-only access depends on the scope the app requests: workspace:viewer and project:viewer exist, but a connector requesting workspace:member gets member access to whatever you select. The token's access never exceeds your own role, so authorizing it from an account with only Viewer access on a workspace also limits it to read-only there. See Scopes & User Consent.

Cloud agents are owned by the member who created them, and normal CLI discovery shows only your own agents; listing other members' agents is a separate administrative view. We can't confirm that it covers every Automation, Cloud Agent and Connector Tunnel, including dormant ones, across the dashboard, CLI and API, so if you need that for auditing, check it against a second member's resources in a test workspace before relying on it.


Status changed to Awaiting User Response Railway • about 3 hours ago


Status changed to Solved stonezhouxl • about 3 hours ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...