René's URL Explorer Experiment


Title: Graceful degradation when Web Crypto is missing (old WebView / non-secure context) — cryptic crypto.randomUUID crash · Issue #10 · JavaScriptSolidServer/solid-oidc · GitHub

Open Graph Title: Graceful degradation when Web Crypto is missing (old WebView / non-secure context) — cryptic crypto.randomUUID crash · Issue #10 · JavaScriptSolidServer/solid-oidc

X Title: Graceful degradation when Web Crypto is missing (old WebView / non-secure context) — cryptic crypto.randomUUID crash · Issue #10 · JavaScriptSolidServer/solid-oidc

Description: Problem solid-oidc requires modern Web Crypto: crypto.randomUUID (state/nonce/PKCE verifier) and crypto.subtle (SHA-256 digest for the PKCE code_challenge, plus DPoP key-gen/sign). Both are gated to Chromium 92+ and secure contexts. On b...

Open Graph Description: Problem solid-oidc requires modern Web Crypto: crypto.randomUUID (state/nonce/PKCE verifier) and crypto.subtle (SHA-256 digest for the PKCE code_challenge, plus DPoP key-gen/sign). Both are gated t...

X Description: Problem solid-oidc requires modern Web Crypto: crypto.randomUUID (state/nonce/PKCE verifier) and crypto.subtle (SHA-256 digest for the PKCE code_challenge, plus DPoP key-gen/sign). Both are gated t...

Opengraph URL: https://github.com/JavaScriptSolidServer/solid-oidc/issues/10

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Graceful degradation when Web Crypto is missing (old WebView / non-secure context) — cryptic crypto.randomUUID crash","articleBody":"## Problem\n\nsolid-oidc requires modern Web Crypto: **`crypto.randomUUID`** (state/nonce/PKCE verifier) and **`crypto.subtle`** (SHA-256 `digest` for the PKCE `code_challenge`, plus DPoP key-gen/sign). Both are gated to **Chromium 92+ *and* secure contexts**.\n\nOn browsers that lack them, sign-in dies at the *first* call with a cryptic:\n\n```\ncrypto.randomUUID is not a function\n```\n\n…with no hint of the real cause. Two common situations hit this:\n\n1. **De-Googled Android phones** (LineageOS/pmOS without GApps) — the **Android System WebView is stale** because it normally updates via the Play Store, which isn't installed. So the default browsing surface can be an old Chromium lacking `randomUUID`/`subtle`.\n2. **Non-secure contexts** — a pod accessed over `http://\u003clan-ip>:port` (not `localhost`, not HTTPS) → `crypto.subtle`/`randomUUID` are `undefined` even on a modern browser.\n\nThis is the path made strict by #5 (jose → Web Crypto) — great for zero-deps, but it now hard-requires modern + secure-context crypto, and fails opaquely when that's absent.\n\n## Repro\n\nOpen a jspod/xlogin sign-in (which imports `solid-oidc`) on a de-Googled phone's stale WebView, or any pre-Chromium-92 / non-secure context → `crypto.randomUUID is not a function`.\n\n## Asks\n\n1. **Polyfill `crypto.randomUUID`** via `crypto.getRandomValues` (widely supported, *not* secure-context-gated) so the lib clears the first hurdle.\n2. **Detect missing `crypto.subtle` up front** and throw a **clear, actionable error**, e.g.:\n   > solid-oidc requires Web Crypto (`crypto.subtle`); this browser/context doesn't provide it. Use an up-to-date browser over HTTPS or `localhost`.\n\n   …instead of a cryptic mid-flow `randomUUID` crash.\n3. *(Optional)* a JS SHA-256 fallback for the PKCE `code_challenge` so PKCE survives without `subtle` — **but DPoP (ECDSA key-gen/sign) genuinely needs `crypto.subtle`**, so this can't fully run on a browser that lacks it. The realistic win is (1) + (2): a clear \"update your browser\" message, not a magic fix.\n\n## Impact\n\nAffects jspod onboarding sign-in, **xlogin**, and every app that authenticates via solid-oidc — especially the **Solid-Pod-on-a-de-Googled-phone** use case. Turning an opaque crash into \"your browser is too old / use HTTPS or localhost\" is the main improvement.\n\n## Related\n#5 (jose → Web Crypto). Same family as the secure-context / stale-WebView constraints on de-Googled devices.","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-05-26T16:25:56Z","url":"https://github.com/JavaScriptSolidServer/solid-oidc/issues/10"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f00cdd83-83b0-7a38-bd05-6401530e4ce4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCE04:28DAC6:12C99A5:17C383D:6B03A2C1
html-safe-nonce8b3d12160143db8a7d78b55da5743a3f8c76cb10db222eecfb5eb01e2ce13ca8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTA0OjI4REFDNjoxMkM5OUE1OjE3QzM4M0Q6NkIwM0EyQzEiLCJ2aXNpdG9yX2lkIjoiNjQ5OTU2MDI4ODQxMTY4OTY2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac22e219118f14a0d077f9a5bf59c0ebab61e3ca41d0eef879a7aae342dc4abe13
hovercard-subject-tagissue:4525779127
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/solid-oidc/10/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e6b97c1b2ea70f8f8089b12f8ffad3e1058ab2f673f227300774721130db822a/JavaScriptSolidServer/solid-oidc/issues/10
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e6b97c1b2ea70f8f8089b12f8ffad3e1058ab2f673f227300774721130db822a/JavaScriptSolidServer/solid-oidc/issues/10
og:image:altProblem solid-oidc requires modern Web Crypto: crypto.randomUUID (state/nonce/PKCE verifier) and crypto.subtle (SHA-256 digest for the PKCE code_challenge, plus DPoP key-gen/sign). Both are gated t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemelvincarvalho
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/JavaScriptSolidServer/solid-oidc git https://github.com/JavaScriptSolidServer/solid-oidc.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id1125114140
octolytics-dimension-repository_nwoJavaScriptSolidServer/solid-oidc
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1125114140
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/solid-oidc
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/solid-oidc/issues/10#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2Fsolid-oidc%2Fissues%2F10
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2Fsolid-oidc%2Fissues%2F10
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=JavaScriptSolidServer%2Fsolid-oidc
Reloadhttps://github.com/JavaScriptSolidServer/solid-oidc/issues/10
Reloadhttps://github.com/JavaScriptSolidServer/solid-oidc/issues/10
Reloadhttps://github.com/JavaScriptSolidServer/solid-oidc/issues/10
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer
solid-oidchttps://github.com/JavaScriptSolidServer/solid-oidc
Codehttps://github.com/JavaScriptSolidServer/solid-oidc
Issues3 (3)https://github.com/JavaScriptSolidServer/solid-oidc/issues
Pull requestshttps://github.com/JavaScriptSolidServer/solid-oidc/pulls
Actionshttps://github.com/JavaScriptSolidServer/solid-oidc/actions
Projectshttps://github.com/JavaScriptSolidServer/solid-oidc/projects
Security and qualityhttps://github.com/JavaScriptSolidServer/solid-oidc/security
Insightshttps://github.com/JavaScriptSolidServer/solid-oidc/insights
https://github.com/JavaScriptSolidServer/solid-oidc
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/solid-oidc/issues/10
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/solid-oidc/issues/10
Graceful degradation when Web Crypto is missing (old WebView / non-secure context) — cryptic crypto.randomUUID crashhttps://github.com/JavaScriptSolidServer/solid-oidc/issues/10#top
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
on May 26, 2026https://github.com/JavaScriptSolidServer/solid-oidc/issues/10#issue-4525779127
#5https://github.com/JavaScriptSolidServer/solid-oidc/issues/5
#5https://github.com/JavaScriptSolidServer/solid-oidc/issues/5
Sign up for freehttps://github.com/signup?return_to=https://github.com/JavaScriptSolidServer/solid-oidc/issues/10
Sign in to commenthttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/solid-oidc/issues/10
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.