Skip to content

Commit f09fef9

Browse files
waleedlatif1claude
andcommitted
fix(confluence): add missing OAuth scopes to auth.ts provider config
The OAuth authorization flow uses scopes from auth.ts, not oauth.ts. The 9 new scopes were only added to oauth.ts and the block config but not to the actual provider config in auth.ts, causing re-auth to still return tokens without the new scopes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2a97824 commit f09fef9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

apps/sim/lib/auth/auth.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,6 +1846,15 @@ export const auth = betterAuth({
18461846
'write:content.property:confluence',
18471847
'read:hierarchical-content:confluence',
18481848
'read:content.metadata:confluence',
1849+
'read:user:confluence',
1850+
'read:task:confluence',
1851+
'write:task:confluence',
1852+
'delete:blogpost:confluence',
1853+
'write:space:confluence',
1854+
'delete:space:confluence',
1855+
'read:space.property:confluence',
1856+
'write:space.property:confluence',
1857+
'read:space.permission:confluence',
18491858
],
18501859
responseType: 'code',
18511860
pkce: true,

0 commit comments

Comments
 (0)