Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/cli/commands/auth/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ async function generateAndDisplayDeviceCode(): Promise<DeviceCodeResponse> {
);

log.info(
`Your code is: ${chalk.bold(deviceCodeResponse.userCode)}` +
`\nPlease visit: ${deviceCodeResponse.verificationUriComplete}`
`Verification code: ${chalk.bold(deviceCodeResponse.userCode)}` +
`\nPlease confirm this code at: ${deviceCodeResponse.verificationUri}`
);

return deviceCodeResponse;
Expand All @@ -44,7 +44,7 @@ async function waitForAuthentication(

try {
await runTask(
"Waiting for you to complete authentication...",
"Waiting for authentication...",
async () => {
await pWaitFor(
async () => {
Expand Down
2 changes: 0 additions & 2 deletions src/core/auth/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const DeviceCodeResponseSchema = z
device_code: z.string().min(1, "Device code cannot be empty"),
user_code: z.string().min(1, "User code cannot be empty"),
verification_uri: z.url("Invalid verification URL"),
verification_uri_complete: z.url("Invalid complete verification URL"),
expires_in: z
.number()
.int()
Expand All @@ -30,7 +29,6 @@ export const DeviceCodeResponseSchema = z
deviceCode: data.device_code,
userCode: data.user_code,
verificationUri: data.verification_uri,
verificationUriComplete: data.verification_uri_complete,
expiresIn: data.expires_in,
interval: data.interval,
}));
Expand Down