Skip to content

Commit

Permalink
feat: temp redirect uri
Browse files Browse the repository at this point in the history
  • Loading branch information
iowillhoit committed Aug 23, 2024
1 parent edcdb0c commit e00d679
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/org/login/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export default class LoginWeb extends SfCommand<AuthFields> {
const oauthConfig: OAuth2Config = {
loginUrl: await common.resolveLoginUrl(flags['instance-url']?.href),
clientId: flags['client-id'],
redirectUri: process.env.SF_AUTH_REDIRECT_URL ?? undefined,
...(flags['client-id']
? { clientSecret: await this.secretPrompt({ message: commonMessages.getMessage('clientSecretStdin') }) }
: {}),
Expand Down

0 comments on commit e00d679

Please sign in to comment.