-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
I am evaluating if we could use copilot-sdk in our web application to support multiple user scenarios with their own GitHub account and I found this https://github.com/github/copilot-sdk/blob/main/docs/setup/github-oauth.md#shared-cli-with-per-request-tokens. However looking on the current code, I kind of doubt if this is true. Looking at
if (options.cliUrl && (options.githubToken || options.useLoggedInUser !== undefined)) {
throw new Error(
"githubToken and useLoggedInUser cannot be used with cliUrl (external server manages its own auth)"
);
}
in
copilot-sdk/nodejs/src/client.ts
Line 227 in 698b259
| if (options.cliUrl && (options.githubToken || options.useLoggedInUser !== undefined)) { |
Is this some feature in plan or doc being incorrect?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.