Skip to content

feat: add Anonymous Sessions documentation#1455

Open
BcnCarlos wants to merge 15 commits into
mainfrom
feat/anonymous-sessions
Open

feat: add Anonymous Sessions documentation#1455
BcnCarlos wants to merge 15 commits into
mainfrom
feat/anonymous-sessions

Conversation

@BcnCarlos

Copy link
Copy Markdown
Contributor

Summary

  • Add five draft articles for Auth0 Anonymous Sessions under docs/manage-users/sessions/anonymous-sessions/
  • Wire new Anonymous Sessions navigation group inside the existing Sessions group in manage-users.json

Articles

Article Description
anonymous-sessions.mdx Concept overview: how it works, workflow, session/access token structure, key concepts, limitations
anonymous-sessions/quickstart.mdx 5-step setup: configure tenant, enable on application, enable on API, create first session, update with metadata
anonymous-sessions/transfer-to-users.mdx How to pass the session token at login/signup, Pre-Registration and Post-Login Action examples, cart merge, multiple sessions, unsupported flows
anonymous-sessions/claims-mapping.mdx Declarative no-code claims via custom_claim_mappings, three use-case examples (session ID, personalization, guest checkout), limitations
anonymous-sessions/best-practices.mdx Security (JWE, server-side validation, metadata sanitization), performance (token caching, batching, small metadata), implementation patterns

Notes for reviewers

The following items should be validated against the product spec before publishing:

  • Endpoint paths: POST /anonymous/token and POST /anonymous/logout — confirm exact paths
  • Tenant settings field names: anonymous_session_lifetime, anonymous_session_token_format — confirm against Management API spec
  • Client field name: can_create_anonymous_sessions — confirm spelling matches API spec
  • Resource server field name: allow_anonymous_access, token_lifetime_for_anonymous_access — confirm against API spec

Test plan

  • cd main && mint dev and confirm Anonymous Sessions group appears under Sessions in the sidebar
  • All five pages render without MDX errors
  • Cross-links between articles resolve correctly
  • mint broken-links passes from main/

🤖 Generated with Claude Code

Add five draft articles covering Auth0 Anonymous Sessions under
docs/manage-users/sessions/anonymous-sessions and wire them into the
Sessions navigation group in manage-users.json.

Articles:
- anonymous-sessions.mdx — concept overview, workflow, key concepts,
  session/access token structure, limitations
- quickstart.mdx — 5-step setup guide (tenant config, application,
  API, create session, update metadata)
- transfer-to-users.mdx — session token passing, Actions examples
  (Pre-Registration, Post-Login, cart merge), unsupported flows
- claims-mapping.mdx — declarative no-code claims mapping,
  three use-case examples, limitations
- best-practices.mdx — security (JWE, server-side validation, metadata
  sanitization), performance (caching, batching), implementation patterns

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@BcnCarlos BcnCarlos requested a review from a team as a code owner June 25, 2026 10:53
@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Status Count
🔍 Total 22
✅ Successful 0
⏳ Timeouts 0
🔀 Redirected 1
👻 Excluded 21
❓ Unknown 0
🚫 Errors 0
⛔ Unsupported 0

Redirects per input

Redirects in main/docs/manage-users/sessions/anonymous-sessions/quickstart.mdx

- Remove forbidden 'This guide…' opening from quickstart.
- Replace forbidden 'Follow these best practices…' opening in
  best-practices with a user-first sentence.
- Replace 'client' with 'application' in claims-mapping (two instances).
- Add validatedOn: 2026-06-25 to all five article frontmatter blocks.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
BcnCarlos and others added 2 commits June 25, 2026 13:03
- Rewrite overview opening to lead with user action (user-first).
- Replace instruction in Limitations with a link to best-practices
  (concept docs should not contain how-to instructions).
- Fix quickstart title dash to colon: 'Quick Start - …' → 'Quick Start: …'.
- Remove 'performant' buzzword from best-practices opening sentence.
- Spell out '1 hour' → 'one hour' in code comment (numbers one–nine).
- Add sidebarTitle to transfer-to-users and best-practices.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
auth0 🟢 Ready View Preview Jun 25, 2026, 11:25 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
auth0-docs-dev 🟢 Ready View Preview Jun 25, 2026, 11:28 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
auth0-docs-staging 🟢 Ready View Preview Jun 25, 2026, 11:33 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Replace ASCII art with the official sequence diagram image showing the
full anonymous session lifecycle (session creation, metadata updates,
anonymous purchase, and session token refresh).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant