Feature × Audience

What is the fastest OAuth setup for startups on Plugsky?

For startups the fastest safe OAuth setup is minimal: keep Plugsky keys server-side, issue one scoped key per environment, and put user sign-in behind a hosted OAuth or OIDC provider until scale justifies building your own. You can develop on the free plan with plugsky-micro and plugsky-lite, no card, then add SSO and finer entitlements as enterprise buyers ask for them.

Key facts

Startup fitHosted OIDC sign-in; one scoped key per environment
API authBearer API keys, scoped per environment and revocable on rotation
Free planplugsky-micro and plugsky-lite, no card; 2 API keys
Trial14-day full-access trial for higher tiers
Models30+ models behind one OpenAI-compatible API
MigrationChange the base URL and model name; keep your SDK
AuditAuthentication and key lifecycle events available for review
SSOSSO with SCIM available when you need team access controls

TL;DR

  • Do not build an authorization server; use a hosted OIDC provider for user sign-in.
  • Keep one scoped Plugsky key per environment; never ship it to the client.
  • Develop free with plugsky-micro and plugsky-lite, no card.
  • Add SSO and entitlement mapping when an enterprise deal or audit forces it.
  • Rotate keys on a schedule; revocation should be a one-minute job, not a project.

How it works, step by step

  1. Add a hosted OIDC provider for user sign-in instead of writing your own OAuth server; wire up one provider well.
  2. Generate a scoped Plugsky key per environment and store it in your deployment platform's secret store, not in the repo or client bundle.
  3. Call the API only from server-side code paths; if you need edge functions, keep the key in the server-side environment.
  4. Map your user or workspace record to a quota bucket so usage is attributable from day one.
  5. Log user, model, tokens and latency per call, and alert on abnormal spend per key.
  6. Rotate keys every quarter and immediately after any team or vendor change.
  7. Add SSO, SCIM and per-customer keys when the first enterprise security review asks for them.
1Add a hosted OIDCprovider for usersign-in instead of2Generate a scopedPlugsky key perenvironment and3Call the API onlyfrom server-sidecode paths; if you4Map your user orworkspace record toa quota bucket so5Log user, model,tokens and latencyper call, and alert6Rotate keys everyquarter andimmediately after

Original data

plugsky-micro Free plan14-day full-acTrial30+ models behModelsSource: Plugsky facts table · updated 2026-09-26

Try it yourself

Open the API key security checklist →

Skip the authorization server

Building OAuth 2.0 correctly — PKCE, token rotation, consent screens, session fixation defences — is weeks of work that adds nothing to your product. Use a hosted OIDC provider: sign-in, social login, MFA and session management become configuration. Your effort belongs in the product and in the one integration that matters: calling the model API safely.

Plugsky's role in this picture is deliberately small. API calls authenticate with scoped bearer keys, so there is no second OAuth server to run inside your app. The console offers SSO with SCIM when you eventually need team-level controls.

The minimum viable secure flow

The whole pattern is four lines of responsibility. Users authenticate with the hosted provider. Your backend receives a session. Your backend attaches a scoped Plugsky key from the environment and calls the OpenAI-compatible endpoint. Your logging records who, which model, how many tokens.

  • Environments: separate keys for dev, staging and production.
  • Secrets: platform secret store, injected at runtime; never in client code.
  • Attribution: tag requests with user or workspace identifiers.
  • Alerts: budget and anomaly alerts per key.

When to invest in more identity

Three triggers justify more work: an enterprise customer sends a security questionnaire, an audit or framework requires segregation of duties, or the number of services and environments makes manual key handling fragile. At that point add SSO and SCIM for your team, per-customer key sets, and a thin broker in your backend.

Until then, keep the surface small. Start on the free plan — plugsky-micro and plugsky-lite, no card — and move to a paid plan or the 14-day full-access trial when real traffic arrives. See the live pricing page for tiers. Flat monthly plans keep the model layer from becoming a variable cost that scares your finance lead.

Honest comparison

ConcernPlugsky starter patternBuilding OAuth yourselfEnterprise-grade setup
User sign-inHosted OIDC providerCustom authorization serverYour IdP plus SCIM
Model accessScoped key per environmentN/ABroker and per-tenant keys
Effort to launchDaysWeeks to monthsWeeks, with governance
CostFree plan, no cardEngineering timeFlat monthly plans
When it breaksRotate one keySecurity incident riskDocumented incident process

Frequently asked questions

Do we need OAuth to call Plugsky?

No. Backend calls use a scoped API key. Add OAuth or OIDC when you have users who sign in to your product, and keep that flow in a hosted provider.

Can we start without a credit card?

Yes. The free plan includes plugsky-micro and plugsky-lite and two API keys with no card, which covers development, demos and early design partners.

How do we stop a leaked key from costing us?

Keep keys server-side, scope them per environment, set spending and rate alerts, and rotate fast. A leaked key should be revocable in minutes.

Should we give each user their own key?

No. Give each environment and service its own key, and attribute usage with metadata instead of distributing credentials.

When should we add SSO and SCIM?

When an enterprise customer asks, when you grow past a small team, or when an audit requires documented lifecycle controls — not before.

Is the API portable if we outgrow it?

Yes. It is OpenAI-compatible, so switching model or base URL is a configuration change rather than a rewrite.

What is live today?

Chat completions with streaming, JSON mode and function calling, plus embeddings. Audio, images, files, batch, moderation, fine-tuning and assistants endpoints are labelled coming soon.