René's URL Explorer Experiment


Title: fix(oauth): trim Atlassian OAuth scopes to fix CloudFront 414 by waleedlatif1 · Pull Request #4388 · simstudioai/sim · GitHub

Open Graph Title: fix(oauth): trim Atlassian OAuth scopes to fix CloudFront 414 by waleedlatif1 · Pull Request #4388 · simstudioai/sim

X Title: fix(oauth): trim Atlassian OAuth scopes to fix CloudFront 414 by waleedlatif1 · Pull Request #4388 · simstudioai/sim

Description: Summary Trims the Atlassian (Jira/JSM/Confluence) OAuth scope list to fix CloudFront 414 errors during SAML SSO bounce — the authorize URL was exceeding CloudFront's URL length limit Drops 20 redundant Jira granular scopes that are subsumed by the classic read:jira-work / write:jira-work scopes (still kept) Drops 19 unused granular Confluence/Jira/JSM scopes whose tools/endpoints aren't called by Sim Adds 3 missing JSM Forms scopes (read/write/delete:form:jira-service-management) — pre-existing gap, not a regression Restores read:issue.vote:jira (Jira issue retrieve tool reads fields.votes) Net: Jira+JSM scope count 53 → 33, comfortably under Atlassian's recommended <50 ceiling Validation Endpoint-by-endpoint audit against Atlassian's live developer docs (via context7 MCP) across tools/, triggers/, connectors/, app/api/tools/: Every Jira read endpoint Sim calls accepts classic read:jira-work per docs Every Jira write endpoint accepts classic write:jira-work per docs (including DELETE /watchers, which Atlassian classifies under the write scope) All 23 JSM scopes still required and present All 35 Confluence scopes still required and present (KB connector's /wiki/rest/api/content/search covered by retained read:confluence-content.all + search:confluence) ⚠️ Pre-merge action required The Atlassian developer console for Sim's OAuth 2.0 (3LO) app must have classic scopes (read:jira-work, write:jira-work) enabled in its Permissions section. If only granular scopes are enabled there, requesting classic from code returns invalid_scope and breaks auth. Verify before merge. Existing users Unaffected. Atlassian refresh tokens keep originally-granted scopes — existing connections continue to use the broader scope set. The trimmed list only applies to new authorizations. Trade-offs Classic scopes are deprecated-by-direction. Atlassian recommends granular for new apps but classic still works and isn't sunset. If Atlassian announces deprecation we'd need to flip back and split into multiple provider connections. Classic read:jira-work is broader than the granular set it replaces — slightly over-permissioned vs strict least-privilege. Consent screen shows fewer, broader permission descriptions. Type of Change Bug fix Testing Tested manually. Recommend a fresh OAuth flow on staging end-to-end (connect new Atlassian account, exercise read + write on Jira) before merge. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Trims the Atlassian (Jira/JSM/Confluence) OAuth scope list to fix CloudFront 414 errors during SAML SSO bounce — the authorize URL was exceeding CloudFront's URL length limit Drops 20 ...

X Description: Summary Trims the Atlassian (Jira/JSM/Confluence) OAuth scope list to fix CloudFront 414 errors during SAML SSO bounce — the authorize URL was exceeding CloudFront&#39;s URL length limit Drops...

Opengraph URL: https://github.com/simstudioai/sim/pull/4388

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e3d1b85e-e4a0-bdb0-d94c-d8a0c1a7f7b4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC550:487EF:BBB99F:1028A3F:6AFB56A0
html-safe-nonce64dc01140c52ba43500eb092da9a3faeb9a2d76c9eea86e756634b4a670b670b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTUwOjQ4N0VGOkJCQjk5RjoxMDI4QTNGOjZBRkI1NkEwIiwidmlzaXRvcl9pZCI6IjY3NTczNTI2NzgwMTI3MDQ0MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfd8f5c65d99a5c4028d32e233234be747b62edf57be73c6d85a3a5f391dbb327
hovercard-subject-tagpull_request:3616350006
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/4388/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Trims the Atlassian (Jira/JSM/Confluence) OAuth scope list to fix CloudFront 414 errors during SAML SSO bounce — the authorize URL was exceeding CloudFront's URL length limit Drops 20 ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4388/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4388%2Ffiles
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%2Fsimstudioai%2Fsim%2Fpull%2F4388%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/4388/files
Reloadhttps://github.com/simstudioai/sim/pull/4388/files
Reloadhttps://github.com/simstudioai/sim/pull/4388/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/atlassian-oauth-414-fixhttps://github.com/simstudioai/sim/tree/waleedlatif1/atlassian-oauth-414-fix
Conversation 8 https://github.com/simstudioai/sim/pull/4388
Commits 6 https://github.com/simstudioai/sim/pull/4388/commits
Checks 13 https://github.com/simstudioai/sim/pull/4388/checks
Files changed https://github.com/simstudioai/sim/pull/4388/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4388/files
fix(oauth): trim Atlassian OAuth scopes to fix CloudFront 414 https://github.com/simstudioai/sim/pull/4388/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/4388/files
414442d fix(oauth): trim Atlassian OAuth scopes to fix CloudFront 414 waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4388/commits/414442db5d0809d09e89ec345c32e41f8a9ec5ab
3030b4d fix(oauth): restore Confluence scopes whose tools are still active waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4388/commits/3030b4d0cea9c49481ddbe306695d4b46da4ac24
9d93e3b fix(oauth): add JSM Forms scopes for form tools waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4388/commits/9d93e3bd829f967f001bc90a207bed356b437076
0250e90 fix(oauth): restore read:issue.vote:jira scope waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4388/commits/0250e905c243cce1003c119c638c1107098783b7
dc8094f fix(oauth): drop redundant Jira granular scopes covered by classic waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4388/commits/dc8094fedee2500579d9334c0ca92352fc9f8384
c1907e0 fix(oauth): re-add read:issue.vote:jira to match PR description waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4388/commits/c1907e037cd4eb8ccd53bd3bead20e4100860b64
Clear filters https://github.com/simstudioai/sim/pull/4388/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4388/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4388/files
route.ts https://github.com/simstudioai/sim/pull/4388/files#diff-ec47f11663a934c9cb48a22acbd847ac7e1da387fc8e976e28ab65acea94cf94
oauth.ts https://github.com/simstudioai/sim/pull/4388/files#diff-8a2b3eb4f06390885c9e87d5fc4949ad359f7f6c0aa55fbf9e281be1c1fe639d
utils.ts https://github.com/simstudioai/sim/pull/4388/files#diff-e036fbd5b48db2c6adae004365c42cf926d0eafaa92e424cf063f4861ce6efbb
apps/sim/app/api/tools/jira/issues/route.tshttps://github.com/simstudioai/sim/pull/4388/files#diff-ec47f11663a934c9cb48a22acbd847ac7e1da387fc8e976e28ab65acea94cf94
View file https://github.com/simstudioai/sim/blob/c1907e037cd4eb8ccd53bd3bead20e4100860b64/apps/sim/app/api/tools/jira/issues/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4388/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4388/files#diff-ec47f11663a934c9cb48a22acbd847ac7e1da387fc8e976e28ab65acea94cf94
https://github.com/simstudioai/sim/pull/4388/files#diff-ec47f11663a934c9cb48a22acbd847ac7e1da387fc8e976e28ab65acea94cf94
https://github.com/simstudioai/sim/pull/4388/files#diff-ec47f11663a934c9cb48a22acbd847ac7e1da387fc8e976e28ab65acea94cf94
https://github.com/simstudioai/sim/pull/4388/files#diff-ec47f11663a934c9cb48a22acbd847ac7e1da387fc8e976e28ab65acea94cf94
apps/sim/lib/oauth/oauth.tshttps://github.com/simstudioai/sim/pull/4388/files#diff-8a2b3eb4f06390885c9e87d5fc4949ad359f7f6c0aa55fbf9e281be1c1fe639d
View file https://github.com/simstudioai/sim/blob/c1907e037cd4eb8ccd53bd3bead20e4100860b64/apps/sim/lib/oauth/oauth.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4388/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4388/files#diff-8a2b3eb4f06390885c9e87d5fc4949ad359f7f6c0aa55fbf9e281be1c1fe639d
https://github.com/simstudioai/sim/pull/4388/files#diff-8a2b3eb4f06390885c9e87d5fc4949ad359f7f6c0aa55fbf9e281be1c1fe639d
https://github.com/simstudioai/sim/pull/4388/files#diff-8a2b3eb4f06390885c9e87d5fc4949ad359f7f6c0aa55fbf9e281be1c1fe639d
https://github.com/simstudioai/sim/pull/4388/files#diff-8a2b3eb4f06390885c9e87d5fc4949ad359f7f6c0aa55fbf9e281be1c1fe639d
Please reload this pagehttps://github.com/simstudioai/sim/pull/4388/files
https://github.com/simstudioai/sim/pull/4388/files#diff-8a2b3eb4f06390885c9e87d5fc4949ad359f7f6c0aa55fbf9e281be1c1fe639d
https://github.com/simstudioai/sim/pull/4388/files#diff-8a2b3eb4f06390885c9e87d5fc4949ad359f7f6c0aa55fbf9e281be1c1fe639d
apps/sim/lib/oauth/utils.tshttps://github.com/simstudioai/sim/pull/4388/files#diff-e036fbd5b48db2c6adae004365c42cf926d0eafaa92e424cf063f4861ce6efbb
View file https://github.com/simstudioai/sim/blob/c1907e037cd4eb8ccd53bd3bead20e4100860b64/apps/sim/lib/oauth/utils.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4388/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4388/files#diff-e036fbd5b48db2c6adae004365c42cf926d0eafaa92e424cf063f4861ce6efbb
https://github.com/simstudioai/sim/pull/4388/files#diff-e036fbd5b48db2c6adae004365c42cf926d0eafaa92e424cf063f4861ce6efbb
https://github.com/simstudioai/sim/pull/4388/files#diff-e036fbd5b48db2c6adae004365c42cf926d0eafaa92e424cf063f4861ce6efbb
https://github.com/simstudioai/sim/pull/4388/files#diff-e036fbd5b48db2c6adae004365c42cf926d0eafaa92e424cf063f4861ce6efbb
Please reload this pagehttps://github.com/simstudioai/sim/pull/4388/files
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.