Skip to content
Open
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ For team members with a Berget Code seat, on machines with a browser:
2. Select "Berget Code Seat - Magic link"
3. The login page opens in your browser — token refresh is automatic

### Berget Code Seat — QR or device code
### Berget Code Seat — Login using other device with QR

For headless environments (SSH, CI, containers) where the browser cannot open on the same machine:

1. Run `/connect` in OpenCode
2. Select "Berget Code Seat - QR or device code"
2. Select "Berget Code Seat - Login using other device with QR"
3. Scan the QR code with your phone, or open the link shown in the dialog — the sign-in code is already included in it
4. Approve the sign-in on the other device; OpenCode continues automatically

Expand Down
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const BergetAuthPlugin = async ({ client }: PluginInput): Promise<Hooks>
},
{
authorize: createDeviceAuthorizeMethod(),
label: 'Berget Code Seat - QR or device code',
label: 'Berget Code Seat - Login using other device with QR',
type: 'oauth' as const,
},
{
Expand Down
Loading