Skip to main content
This guide shows you how to register your own app with Railway to obtain your OAuth credentials (client ID & secret). These are required to let your users grant your app access to their Railway account.
1

Create a Railway account

If you don’t already have one, sign up at railway.com. Only workspace admins can create OAuth apps; your personal workspace works.
2

Create a new OAuth app

  1. Log in to Railway.
  2. In the left sidebar, open Settings and click Developer.
  3. Under OAuth Apps, click New OAuth App and enter a name for your app.
3

Configure OAuth settings

  1. Keep Application Type set to Web Application (server-side, confidential).
  2. Under Redirect URIs, add https://api.nango.dev/oauth/callback.
  3. Click Create OAuth App.
4

Choose your scopes

Railway’s app form has no scope list: scopes are requested when users authorize. Nango always requests openid and offline_access. Add the scopes your integration needs on your integration in Nango, for example email, profile or workspace:viewer.
5

Copy your credentials

In the Client Credentials section, copy the Client ID and Client Secret. The client secret is shown only once. You’ll need both when configuring your integration in Nango.
For more details on Railway’s OAuth implementation, see Railway’s login and tokens documentation.