René's URL Explorer Experiment


Title: WebView not opening Remix app webpage as authenticated when navigating from Expo app · Issue #3880 · clerk/javascript · GitHub

Open Graph Title: WebView not opening Remix app webpage as authenticated when navigating from Expo app · Issue #3880 · clerk/javascript

X Title: WebView not opening Remix app webpage as authenticated when navigating from Expo app · Issue #3880 · clerk/javascript

Description: Preliminary Checks I have reviewed the documentation: https://clerk.com/docs I have searched for existing issues: https://github.com/clerk/javascript/issues I have not already reached out to Clerk support via email or Discord (if you hav...

Open Graph Description: Preliminary Checks I have reviewed the documentation: https://clerk.com/docs I have searched for existing issues: https://github.com/clerk/javascript/issues I have not already reached out to Clerk ...

X Description: Preliminary Checks I have reviewed the documentation: https://clerk.com/docs I have searched for existing issues: https://github.com/clerk/javascript/issues I have not already reached out to Clerk ...

Opengraph URL: https://github.com/clerk/javascript/issues/3880

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WebView not opening Remix app webpage as authenticated when navigating from Expo app","articleBody":"### Preliminary Checks\r\n\r\n- [X] I have reviewed the documentation: https://clerk.com/docs\r\n\r\n- [X] I have searched for existing issues: https://github.com/clerk/javascript/issues\r\n\r\n- [X] I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)\r\n\r\n- [X] This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.\r\n\r\n\r\n### Reproduction\r\n\r\nwebview opens as unauthenticated in mobile\r\n\r\n### Publishable key\r\n\r\npk_test_bmF0aXZlLWNvdy01NS5jbGVyay5hY2NvdW50cy5kZXYk\r\n\r\n### Description\r\n\r\nI am working on an Expo app and using Clerk for authentication. I need to open a web view in the mobile app, but the authentication state should be passed from mobile to the web component opened on the web view (Web is Remix). I attempted it like this:\r\n\r\n```\u003cWebView \r\n    source={{ uri: url, headers: {\r\n      Authorization: `Bearer ${token}`\r\n    }}}\r\n    sharedCookiesEnabled={true}\r\n```\r\n\r\n\r\nBut, I am not able to have a successful navigation, since I am unauthenticated when web view is opened. The value \r\ntoken comes from the getToken of useAuth that I imported from @clerk/clerk-expo\"\r\n.\r\n\r\nI also tried using it like this:\r\n\r\n\r\n```\u003cWebView \r\n    source={{ uri: url, headers: {\r\n      Cookies: `${token}`\r\n    }}}\r\n    sharedCookiesEnabled={true}\r\n```\r\n\r\n\r\nAs a last effort, I tried copying the whole \r\ncookies\r\n body from the script in the network tag from my web app and pasting to the \r\nCookies\r\n parameter above, but it was not successful. Here is the structure of that value:\r\n\r\n\r\n```cookies: {\r\n  __clerk_db_jwt=...;\r\n  __clerk_db_jwt_2fyn-cby=...; \r\n  __client_uat_2fyn-cby=...; \r\n  __client_uat=...; \r\n  __session_2fyn-cby=...;\r\n  __session=...;\r\n}\r\n```\r\n\r\n\r\n\r\nThis looks like an issue with Clerk, since I suppose that opening a webview as authenticated should be possible.\r\n\r\n### Environment\r\n\r\n```Shell\r\nSystem:\r\n    OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)\r\n    CPU: (8) x64 Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz\r\n    Memory: 3.36 GB / 15.48 GB\r\n    Container: Yes\r\n    Shell: 5.0.17 - /bin/bash\r\n  Binaries:\r\n    Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node\r\n    Yarn: 1.22.10 - /usr/local/bin/yarn\r\n    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.0/bin/npm\r\n    pnpm: 9.1.0 - ~/.nvm/versions/node/v20.11.0/bin/pnpm\r\n  Browsers:\r\n    Chrome: 102.0.5005.115\r\n```\r\n","author":{"url":"https://github.com/lramosaj","@type":"Person","name":"lramosaj"},"datePublished":"2024-08-01T20:15:58Z","url":"https://github.com/clerk/javascript/issues/3880"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:dcbb021d-3ab7-0dbf-8953-6e9fefd8851e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEDA4:2781FE:846018:B9FFB9:6AFB6DE3
html-safe-noncee977121aed71f6a02cac9485c818de13d3ae6e2b087d81832a5cdcbd868cf1a0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREE0OjI3ODFGRTo4NDYwMTg6QjlGRkI5OjZBRkI2REUzIiwidmlzaXRvcl9pZCI6IjcyNTYzNjcxMjEyMDA1NDExNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9a718ed9816d652a2a31ec1df63e35ece82c59adf645335a4b10bfcbec193eb5
hovercard-subject-tagissue:2443335114
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/clerk/javascript/3880/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c0cc61597d0a7e5c9f2a1a0c4fd5003a5fe303748baa7a062dd10b73df1bfec1/clerk/javascript/issues/3880
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c0cc61597d0a7e5c9f2a1a0c4fd5003a5fe303748baa7a062dd10b73df1bfec1/clerk/javascript/issues/3880
og:image:altPreliminary Checks I have reviewed the documentation: https://clerk.com/docs I have searched for existing issues: https://github.com/clerk/javascript/issues I have not already reached out to Clerk ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelramosaj
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-preview
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
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
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/clerk/javascript/issues/3880#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fissues%2F3880
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%2Fclerk%2Fjavascript%2Fissues%2F3880
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=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/issues/3880
Reloadhttps://github.com/clerk/javascript/issues/3880
Reloadhttps://github.com/clerk/javascript/issues/3880
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues45 (45)https://github.com/clerk/javascript/issues
Pull requests110 (110)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
New issuehttps://github.com/login?return_to=https://github.com/clerk/javascript/issues/3880
New issuehttps://github.com/login?return_to=https://github.com/clerk/javascript/issues/3880
WebView not opening Remix app webpage as authenticated when navigating from Expo apphttps://github.com/clerk/javascript/issues/3880#top
https://github.com/lramosaj
lramosajhttps://github.com/lramosaj
on Aug 1, 2024https://github.com/clerk/javascript/issues/3880#issue-2443335114
https://clerk.com/docshttps://clerk.com/docs
https://github.com/clerk/javascript/issueshttps://github.com/clerk/javascript/issues
https://clerk.com/discordhttps://clerk.com/discord
lramosajhttps://github.com/lramosaj
needs-triageA ticket that needs to be triaged by a team memberhttps://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3A%22needs-triage%22
on Aug 1, 2024https://github.com/clerk/javascript/issues/3880#event-13731629882
linearhttps://github.com/apps/linear
needs-triageA ticket that needs to be triaged by a team memberhttps://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3A%22needs-triage%22
on Aug 9, 2024https://github.com/clerk/javascript/issues/3880#event-13824597723
linearhttps://github.com/apps/linear
not plannedhttps://github.com/clerk/javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Aug 12, 2024https://github.com/clerk/javascript/issues/3880#event-13844907929
https://github.com/LekoArts
LekoArtshttps://github.com/LekoArts
on Aug 12, 2024https://github.com/clerk/javascript/issues/3880#issuecomment-2283505773
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
on Aug 13, 2025https://github.com/clerk/javascript/issues/3880#issuecomment-3181607124
clerkhttps://github.com/clerk
on Aug 13, 2025https://github.com/clerk/javascript/issues/3880#event-19125037023
Sign up for freehttps://github.com/signup?return_to=https://github.com/clerk/javascript/issues/3880
Sign in to commenthttps://github.com/login?return_to=https://github.com/clerk/javascript/issues/3880
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

Viewport: width=device-width


URLs of crawlers that visited me.