Download for MacApple silicon, macOS 14+
Skill

identityserver-token-lifecycle

@duendesoftware Updated 2026-10-16

Guide for implementing token types, refresh token management, token exchange (RFC 8693), extension grants, IProfileService claims customization, and token lifetime best practices in Duende IdentityServer.

ai-agentsclaudeclaude-code

Install

With your agent

Install OMGSkills skill "duendesoftware/duende-skills:skills/identityserver-token-lifecycle" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/DuendeSoftware/duende-skills /tmp/duende-skills && ln -s /tmp/duende-skills/skills/identityserver-token-lifecycle ~/.claude/skills/identityserver-token-lifecycle

From README

IdentityServer Token Types, Refresh Tokens, and Token Exchange When to Use This Skill Choosing between JWT and reference access tokens for a client Configuring refresh token rotation, sliding expiration, or replay detection Implementing token exchange (RFC 8693) for impersonation or delegation Building an extension grant validator (IExtensionGrantValidator) Customizing which claims appear in identity tokens, access tokens, or userinfo responses via IProfileService Setting token lifetime policies for access tokens and refresh tokens Issuing internal tokens from extensibility code via IIdentityServerTools Understanding identity tokens vs access tokens and their intended audiences Docs: https://docs.duendesoftware.com/identityserver/tokens Token Types Overview Duende IdentityServer issues three primary token types: | Token Type | Purpose | Audience | Format | | -------------- | -------------------------------------------------- | ------------------------------------- |...