File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/opencode/src/auth Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export namespace AuthAnthropic {
88 const pkce = await generatePKCE ( )
99 const url = new URL ( "https://claude.ai/oauth/authorize" , import . meta. url )
1010 url . searchParams . set ( "code" , "true" )
11- url . searchParams . set ( "client_id" , "9d1c250a-e61b-44d9-88ed-5944d1962f5e" )
11+ url . searchParams . set ( "client_id" , CLIENT_ID )
1212 url . searchParams . set ( "response_type" , "code" )
1313 url . searchParams . set (
1414 "redirect_uri" ,
@@ -38,7 +38,7 @@ export namespace AuthAnthropic {
3838 code : splits [ 0 ] ,
3939 state : splits [ 1 ] ,
4040 grant_type : "authorization_code" ,
41- client_id : "9d1c250a-e61b-44d9-88ed-5944d1962f5e" ,
41+ client_id : CLIENT_ID ,
4242 redirect_uri : "https://console.anthropic.com/oauth/code/callback" ,
4343 code_verifier : verifier ,
4444 } ) ,
You can’t perform that action at this time.
0 commit comments