Fortify Development
coollabsio/coolify
ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.
Fix OAuth PKCE "Session not found" or "No code verifier" errors in SPAs after redirect from external auth server.
$ npx skills add divinevideo/divine-mobile --skill oauth-pkce-sessionstorage-lost-on-redirect -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile oauth-pkce-sessionstorage-lost-on-redirect --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect .claude/skills/oauth-pkce-sessionstorage-lost-on-redirect && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "oauth-pkce-sessionstorage-lost-on-redirect" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect into .claude/skills/oauth-pkce-sessionstorage-lost-on-redirect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "oauth-pkce-sessionstorage-lost-on-redirect", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirectType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add divinevideo/divine-mobile --skill oauth-pkce-sessionstorage-lost-on-redirect -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile oauth-pkce-sessionstorage-lost-on-redirect --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect .agents/skills/oauth-pkce-sessionstorage-lost-on-redirect && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "oauth-pkce-sessionstorage-lost-on-redirect" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect into .agents/skills/oauth-pkce-sessionstorage-lost-on-redirect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "oauth-pkce-sessionstorage-lost-on-redirect", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill oauth-pkce-sessionstorage-lost-on-redirect -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile oauth-pkce-sessionstorage-lost-on-redirect --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect .cursor/skills/oauth-pkce-sessionstorage-lost-on-redirect && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "oauth-pkce-sessionstorage-lost-on-redirect" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect into .cursor/skills/oauth-pkce-sessionstorage-lost-on-redirect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "oauth-pkce-sessionstorage-lost-on-redirect", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/divinevideo/divine-mobile.git --path .agents/skills/oauth-pkce-sessionstorage-lost-on-redirect--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add divinevideo/divine-mobile --skill oauth-pkce-sessionstorage-lost-on-redirect -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile oauth-pkce-sessionstorage-lost-on-redirect --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect .gemini/skills/oauth-pkce-sessionstorage-lost-on-redirect && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "oauth-pkce-sessionstorage-lost-on-redirect" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect into .gemini/skills/oauth-pkce-sessionstorage-lost-on-redirect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "oauth-pkce-sessionstorage-lost-on-redirect", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install divinevideo/divine-mobile oauth-pkce-sessionstorage-lost-on-redirectInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add divinevideo/divine-mobile --skill oauth-pkce-sessionstorage-lost-on-redirect -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect .github/skills/oauth-pkce-sessionstorage-lost-on-redirect && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "oauth-pkce-sessionstorage-lost-on-redirect" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect into .github/skills/oauth-pkce-sessionstorage-lost-on-redirect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "oauth-pkce-sessionstorage-lost-on-redirect", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill oauth-pkce-sessionstorage-lost-on-redirect -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install divinevideo/divine-mobile oauth-pkce-sessionstorage-lost-on-redirect --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect .opencode/skills/oauth-pkce-sessionstorage-lost-on-redirect && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "oauth-pkce-sessionstorage-lost-on-redirect" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect into .opencode/skills/oauth-pkce-sessionstorage-lost-on-redirect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "oauth-pkce-sessionstorage-lost-on-redirect", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
oauth-pkce-sessionstorage-lost-on-redirectFix OAuth PKCE "Session not found" or "No code verifier" errors in SPAs after redirect from external auth server.
OAuth Pkce Sessionstorage Lost On Redirect is an agent skill from divinevideo/divine-mobile. Fix OAuth PKCE "Session not found" or "No code verifier" errors in SPAs after redirect from external auth server. Use when: (1) OAuth callback fails with session/verifier not found despite flow starting correctly, (2) PKCE codeverifier stored in sessionStorage is missing after redirect back from auth server, (3) Error only happens in production or cross-origin redirects, not in local dev. Root cause: sessionStorage is lost when the browser opens a new tab, changes browsing context, or certain browsers clear it…
Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering OAuth and OpenID Connect. The licence is MPL-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit c3d6f7e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
login.divine.videoFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
OAuth Pkce Sessionstorage Lost On Redirect loads about 974 tokens when it runs. Until then it costs about 162 tokens; SKILL.md has 371 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from divinevideo/divine-mobile at commit c3d6f7e, republished under its MPL-2.0 licence (© divinevideo). 371 words, ~974 tokens.
.claude/skills/oauth-pkce-sessionstorage-lost-on-redirect/SKILL.md (or your agent's skills folder).OAuth PKCE flow fails at the code exchange step because the PKCE code verifier stored in
sessionStorage is missing after the redirect from the external authorization server.
The error message typically says "Session not found" or "No code verifier found" with no
indication that the storage backend is the issue.
sessionStoragelogin.example.com)?code=...&state=...sessionStorage is scoped per-tab AND per-origin, and has additional fragility:
Switch from sessionStorage to localStorage for the PKCE code verifier storage:
// BEFORE (fragile)
const client = createOAuthClient({
storage: sessionStorage,
});
// AFTER (reliable)
const client = createOAuthClient({
storage: localStorage,
});The security concern with localStorage (verifier persists longer) is mitigated because:
exchangeCode()getAuthorizationUrl() overwrites any stale verifier on new flow startlocalStorage — the divine_pkce (or equivalent) key should be cleaned up
after successful exchangeFrom @divinevideo/login SDK integration:
function createClient() {
return createDivineClient({
serverUrl: 'https://login.divine.video',
clientId: 'divine-web',
redirectUri: buildCallbackUrl(),
// localStorage survives cross-origin redirects more reliably than sessionStorage
storage: localStorage,
});
}storage parameter, you may need to manually
store/retrieve the verifier in localStorage and pass it to exchangeCode(verifier)localStorage may not be fully implemented;
provide an in-memory Storage stub in test setup© divinevideo, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/oauth-pkce-sessionstorage-lost-on-redirect of divinevideo/divine-mobile.
Open the folder on GitHubat commit c3d6f7e
OAuth Pkce Sessionstorage Lost On Redirect next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| OAuth Pkce Sessionstorage Lost On Redirect this skilldivinevideo/divine-mobile | 266 | — | ~974 | Automated safety check: Pass | MPL-2.0 | |
| Fortify Developmentcoollabsio/coolify | 63k | 4 repos | ~1.9k | Automated safety check: Pass | MIT | |
| OmniRoute Provider Managementdiegosouzapw/OmniRoute | 75k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Antipattern Preventiondoorkeeper-gem/doorkeeper | 5.5k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Cognitoitsmostafa/aws-agent-skills | 1.2k | 1 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Notion Worker Third-Party Auth Guidemakenotion/workers-template | 439 | 1 repos | ~3.5k | Automated safety check: Notes | MIT |
coollabsio/coolify
ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.
diegosouzapw/OmniRoute
Manages AI provider connections, API keys, OAuth flows and connection tests through OmniRoute's REST API across its 327-provider catalog.
doorkeeper-gem/doorkeeper
Avoid common Ruby and Rails antipatterns that degrade maintainability and performance.
itsmostafa/aws-agent-skills
AWS Cognito user authentication and authorization service. An agent skill from itsmostafa/aws-agent-skills.
makenotion/workers-template
Decides whether a Notion Worker should use a brokered credential, a plaintext environment secret, or OAuth to authenticate against a non-Notion service.
kanchengw/cnllm
Guides Stripe integration decisions — API selection (Checkout Sessions vs PaymentIntents), Connect platform setup (Accounts v2, controller properties), billing/subscriptions, Treasury financial…
divinevideo/divine-mobile
Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".
divinevideo/divine-mobile
Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.
divinevideo/divine-mobile
Fix "Null check operator used on a null value" errors when an object is set to null during an async await.
divinevideo/divine-mobile
Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.
divinevideo/divine-mobile
Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.
divinevideo/divine-mobile
Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).
Categories
Fix OAuth PKCE "Session not found" or "No code verifier" errors in SPAs after redirect from external auth server. OAuth Pkce Sessionstorage Lost On Redirect is an agent skill from divinevideo/divine-mobile. Fix OAuth PKCE "Session not found" or "No code verifier" errors in SPAs after redirect from external auth server.
OAuth Pkce Sessionstorage Lost On Redirect fits situations like: OAuth callback fails with session/verifier not found despite flow starting correctly; PKCE codeverifier stored in sessionStorage is missing after redirect back from auth server; error only happens in production; cross-origin redirects.
Run `npx skills add divinevideo/divine-mobile --skill oauth-pkce-sessionstorage-lost-on-redirect -a claude-code`. Or copy the skill folder (.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect in divinevideo/divine-mobile) into .claude/skills/oauth-pkce-sessionstorage-lost-on-redirect in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill oauth-pkce-sessionstorage-lost-on-redirect -a codex`. Or copy the skill folder (.agents/skills/oauth-pkce-sessionstorage-lost-on-redirect in divinevideo/divine-mobile) into .agents/skills/oauth-pkce-sessionstorage-lost-on-redirect in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add divinevideo/divine-mobile --skill oauth-pkce-sessionstorage-lost-on-redirect -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/oauth-pkce-sessionstorage-lost-on-redirect, .gemini/skills/oauth-pkce-sessionstorage-lost-on-redirect, .github/skills/oauth-pkce-sessionstorage-lost-on-redirect and .opencode/skills/oauth-pkce-sessionstorage-lost-on-redirect in your project.
SKILL.md names no scripts, command-line tools or credentials: OAuth Pkce Sessionstorage Lost On Redirect is instructions for the agent only.
SKILL.md names 1 domain. In commands or code: login.divine.video; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
OAuth Pkce Sessionstorage Lost On Redirect is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 974 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with OAuth Pkce Sessionstorage Lost On Redirect: Fortify Development (coollabsio/coolify, 63k stars), OmniRoute Provider Management (diegosouzapw/OmniRoute, 75k stars), Antipattern Prevention (doorkeeper-gem/doorkeeper, 5.5k stars) and Cognito (itsmostafa/aws-agent-skills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 10, 2026.
Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.