Skip to content

Commit ca5fcd7

Browse files
committed
Reference the no-browser redirect URI constant
1 parent be609dd commit ca5fcd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎internal/cli/auth/user_delegation.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func (opts *UserDelegationFlow) Run(ctx context.Context) error {
123123

124124
if opts.NoBrowser {
125125
// Manual flow: user authorizes in their own browser and pastes the redirect URL back
126-
redirectURI = auth.NoBrowserRedirectURI()
126+
redirectURI = auth.NoBrowserRedirectURI
127127
authURL, err := authCfg.AuthorizationURL(authorizationEndpoint, redirectURI, state, pkce)
128128
if err != nil {
129129
return err

0 commit comments

Comments
 (0)