API product
OAuth and OpenID Connect
Authenticate users with Authorization Code + PKCE, userinfo, JWKS, token revoke and introspection endpoints.
Base path/live/v1/oauth
Authoauth
Daily quota10,000
Use Nishadil OAuth and OpenID Connect for secure sign-in and delegated access.
Request example
GET
Call this API product
curl -X GET "https://api.nishadil.com/live/v1/{mode}/{version}/oauth/authorize" \
-H "Accept: application/json" \
-H "X-Nishadil-Key: ndev_pk_your_public_key" \
-H "X-Nishadil-Secret: ndev_sk_your_secret"
curl -X GET "https://api.nishadil.com/live/v1/{mode}/{version}/oauth/authorize" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_OAUTH_ACCESS_TOKEN"
const response = await fetch('https://api.nishadil.com/live/v1/{mode}/{version}/oauth/authorize', {
method: 'GET',
headers: {
'Accept': 'application/json',
'X-Nishadil-Key': 'ndev_pk_your_public_key',
'X-Nishadil-Secret': 'ndev_sk_your_secret'
}
});
Use subscription keys for server-to-server API access. Use OAuth when the request acts on behalf of a signed-in Nishadil user.
Endpoints
| Method | Path | Scope |
|---|---|---|
| GET | /{mode}/{version}/oauth/authorizeStart Authorization Code + PKCE OAuth flow. | sso.login |
| POST | /{mode}/{version}/oauth/tokenExchange authorization code or refresh token. | sso.login |
Build path
- Create or open an app.
- Configure OAuth redirect URLs and consent screen.
- Subscribe to this API product.
- Create subscription keys and monitor logs.
Credential model
Subscription keys can be rotated with primary and secondary keys.
OAuth clients use Authorization Code + PKCE for user consent.
Quotas and request logs are visible from the Developer Console.