Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
7f98be4f
Commit
7f98be4f
authored
Jan 23, 2026
by
shaw
Browse files
fix(oauth): 更新 Anthropic 账号 OAuth 参数,同步最新客户端
parent
fd73b887
Changes
1
Show whitespace changes
Inline
Side-by-side
backend/internal/pkg/oauth/oauth.go
View file @
7f98be4f
...
@@ -24,9 +24,9 @@ const (
...
@@ -24,9 +24,9 @@ const (
RedirectURI
=
"https://platform.claude.com/oauth/code/callback"
RedirectURI
=
"https://platform.claude.com/oauth/code/callback"
// Scopes - Browser URL (includes org:create_api_key for user authorization)
// Scopes - Browser URL (includes org:create_api_key for user authorization)
ScopeOAuth
=
"org:create_api_key user:profile user:inference user:sessions:claude_code"
ScopeOAuth
=
"org:create_api_key user:profile user:inference user:sessions:claude_code
user:mcp_servers
"
// Scopes - Internal API call (org:create_api_key not supported in API)
// Scopes - Internal API call (org:create_api_key not supported in API)
ScopeAPI
=
"user:profile user:inference user:sessions:claude_code"
ScopeAPI
=
"user:profile user:inference user:sessions:claude_code
user:mcp_servers
"
// Scopes - Setup token (inference only)
// Scopes - Setup token (inference only)
ScopeInference
=
"user:inference"
ScopeInference
=
"user:inference"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment