AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Descope Auth

skill-descope-skills-descope-auth · by descope

Integrate Descope authentication into applications. Use when implementing login, signup, passwordless auth (OTP, Magic Link, Passkeys), OAuth, SSO, or MFA. Detects framework and provides targeted guidance.

No reviews yet
0 installs
8 views
0.0% view→install

Install

$ agentstack add skill-descope-skills-descope-auth

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-descope-skills-descope-auth)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Descope Auth? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Descope Authentication

Integrate secure, passwordless authentication using Descope Flows and SDKs.

Framework Detection

Detect the user's framework and use the appropriate reference:

| If project has... | Use reference | |-------------------|---------------| | next in package.json | references/nextjs.md | | react (no Next.js) | references/react.md | | Python/Node.js backend only | references/backend.md |

Quick Start (all frameworks)

  1. Get Project ID from https://app.descope.com/settings/project
  2. Set environment variable: NEXT_PUBLIC_DESCOPE_PROJECT_ID=
  3. Follow framework-specific reference
  4. Verify: After setup, confirm the ` component renders the login form. Check the browser console — a missing or invalid Project ID produces a clear Could not load flows` error.

Minimal Inline Example (Next.js)

// src/app/login/page.tsx
import { Descope } from '@descope/nextjs-sdk';

export default function LoginPage() {
  return (
     console.log('Authenticated:', e.detail.user)}
      onError={(e) => console.error('Auth failed:', e.detail)}
    />
  );
}

For React SPA or backend-only setups, see the framework-specific references below.

Valid Flow IDs (CRITICAL - do not invent others)

| Flow ID | Purpose | |---------|---------| | sign-up-or-in | Combined signup/login (RECOMMENDED) | | sign-up | Registration only | | sign-in | Login only | | step-up | MFA step-up authentication | | update-user | Profile updates, add auth methods |

Authentication Methods

| Method | When to use | |--------|-------------| | OTP (Email/SMS) | Quick verification codes | | Magic Link | Passwordless email links | | Passkeys | Biometric/WebAuthn (most secure) | | OAuth | Social login (Google, GitHub, etc.) | | SSO | Enterprise SAML/OIDC | | Passwords | Traditional auth (not recommended) |

DO NOT (Security Guardrails)

  • DO NOT parse JWTs manually - always use SDK's validateSession()
  • DO NOT store tokens in localStorage - SDK handles this securely
  • DO NOT invent flow IDs - only use IDs from the table above
  • DO NOT skip server-side validation - always validate on backend
  • DO NOT expose DESCOPEMANAGEMENTKEY in client code

References

  • references/nextjs.md - Next.js App Router integration
  • references/react.md - React SPA integration
  • references/backend.md - Backend session validation

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.