Skip to content

Commit 142e67f

Browse files
committed
spelling
1 parent ea6dffb commit 142e67f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/oauthdevice/device_flow.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (c *httpClient) Discover(ctx context.Context, endpoint string) (*OIDCConfig
134134
return &config, nil
135135
}
136136

137-
// Start strats the OAuth device flow with the given endpoint. If no scopes are given the default scopes are used.
137+
// Start starts the OAuth device flow with the given endpoint. If no scopes are given the default scopes are used.
138138
//
139139
// Default Scopes: "openid" "profile" "email" "offline_access" "user:all"
140140
func (c *httpClient) Start(ctx context.Context, endpoint string, scopes []string) (*DeviceAuthResponse, error) {
@@ -194,7 +194,7 @@ func (c *httpClient) Start(ctx context.Context, endpoint string, scopes []string
194194

195195
// Poll polls the OAuth token endpoint until the device has been authorized or not
196196
//
197-
// We poll as long as the authorization is pending. If the server tells us to slow down, we will will wait 5 secs.
197+
// We poll as long as the authorization is pending. If the server tells us to slow down, we will wait 5 secs extra.
198198
//
199199
// Polling will stop when:
200200
// - Device is authorized, and a token is returned

0 commit comments

Comments
 (0)