Setup Checklist
Complete this checklist before starting any integration. Takes about 5 minutes.
Step 1: Create Your Nexorix Accountβ
SyAuth is part of the Nexorix ecosystem. You must create an account on Nexorix to access the SyAuth Dashboard.
- Go to Nexorix and create an account.
- Once registered, use your Nexorix credentials to log in to SyAuth.
Use your work email if you're building for a company. You can add team members to your Workspace later.
Step 2: Create a Workspaceβ
After signing in, you'll be prompted to create a Workspace. A Workspace is where all your applications, users, and settings live.
| Field | What to Enter | Example |
|---|---|---|
| Name | Your company or project name | Acme Corp or My Side Project |
When to use multiple Workspaces:
- Separate production and development environments
- Separate projects for different clients
- Isolate test accounts from real users
Step 3: Create Your First OAuth Clientβ
An OAuth Client represents your application in SyAuth.
- In the sidebar, click OAuth Clients.
- Click Create OAuth Client.
- Select your application type:
- Regular Web Application: For Next.js, Django, etc. Public + PKCE is recommended.
- Single Page Application: For client-side React, Vue. Uses Public + PKCE.
- Native Application: For mobile or desktop apps.
- Machine to Machine: For backend services and CLIs.
π View detailed guide: Configuring OAuth Clients
Step 4: Copy Your OAuth Credentialsβ
After creating your OAuth Client, you'll see your credentials. Store them securely.
- Client ID: Safe to use in frontend code.
- Client Secret: Only required if you chose Confidential Client. Shown only once.
The Client Secret is shown only once! If you lose it, you'll need to Regenerate it.
Step 5: Create an API Tokenβ
API Tokens (Keys) allow your server-side code to perform operations like registering users via the API.
- In the sidebar, click API Tokens.
- Click Create Token.
- Name your token and select any necessary scopes (Read/Write).
- Copy your token immediately β it will never be shown again.
π View detailed guide: Managing API Tokens
Step 6: Set Up Environment Variablesβ
Create an .env.local file (or equivalent for your framework) with your credentials:
Next.jsβ
NEXT_PUBLIC_SYAUTH_API_URL=https://api.syauth.com/e/v1
NEXT_PUBLIC_SYAUTH_CLIENT_ID=your-client-id
NEXT_PUBLIC_SYAUTH_REDIRECT_URI=http://localhost:3000/auth/callback
NEXT_PUBLIC_SYAUTH_API_KEY=your-api-key
Djangoβ
# settings.py
SYAUTH = {
'API_URL': 'https://api.syauth.com/e/v1',
'CLIENT_ID': 'your-client-id',
'API_KEY': 'your-api-key',
'REDIRECT_URI': 'http://localhost:8000/auth/callback/',
}
Other Frameworksβ
SYAUTH_API_URL=https://api.syauth.com/e/v1
SYAUTH_CLIENT_ID=your-client-id
SYAUTH_CLIENT_SECRET=your-client-secret
SYAUTH_REDIRECT_URI=http://localhost:3000/callback
β Checklist Complete!β
You're ready to integrate SyAuth. Choose your quickstart guide:
- Next.js Quickstart β Best for React/Next.js apps
- Django Quickstart β Best for Python/Django apps
- Vanilla JS Quickstart β For plain JavaScript apps
- Any Language β Raw HTTP endpoints for any language
Troubleshooting Setupβ
"I can't find my Client Secret"β
Client Secrets are shown only once when created. If you didn't copy it:
- Go to Dashboard β OAuth Clients β Your App
- Click Regenerate Secret
- Copy the new secret immediately
"I added the wrong Redirect URI"β
- Go to Dashboard β OAuth Clients β Your App
- In the Redirect URIs section, edit or remove incorrect URIs
- Add the correct URI
- Save changes
"I need to add a team member"β
- Go to Dashboard β Workspace Settings
- Click Members
- Click Invite Member
- Enter their email address