Skip to content

Conversation

@satrix321
Copy link
Contributor

@satrix321 satrix321 commented Aug 2, 2021

Description

The auth option in got is deprecated, one should use username and password: https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#username

Also there seems to be a Node.js issue with username:password string: sindresorhus/got#1169

Related issues

Fixes #32664

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Aug 2, 2021
@LekoArts LekoArts added topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Aug 17, 2021
@LekoArts
Copy link
Contributor

I've also renamed the option since #32791 will also already do this

@LekoArts LekoArts changed the title gatsby-core-utils replace 'auth' param with 'username' and 'password'… fix(gatsby-core-utils): Switch auth option from got to username/password Aug 17, 2021
@gatsbyjs gatsbyjs deleted a comment from gatsbot bot Aug 27, 2021
@wardpeet wardpeet added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Aug 27, 2021
@wardpeet wardpeet merged commit d6326df into gatsbyjs:master Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: merge on green Gatsbot will merge these PRs automatically when all tests passes topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gatsby-core-utils basicAuth issues - TypeError: Parameter auth is deprecated. Use username / password instead.

3 participants