Skip to content

Handle Basic Auth enabled on Saleor instance #407

@witoszekdev

Description

@witoszekdev

What I'm trying to achieve

Saleor Cloud allows setting up Basic Auth authentication when setting up an environment: https://docs.saleor.io/cloud/restricting-api-access#api-password-protection

When installing apps in such Saleor instance it results in an error, because app cannot fetch app id when handling register request.

Describe a proposed solution

  • App separate error message with explanation when we get HTTP 401 error with link to docs
  • Allow configuration for Basic Auth, so that app can make authenticated requests

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions