Skip to content

Referencing an undefined authentication via .use silently sends request unauthenticated #1490

Description

@mcruzdev

When a task references an authentication by name (e.g. authentication.use: sampleDigest) and that name is not defined in the use.authentications block, the request is silently sent without
authentication instead of failing.

The fix should validate at build time that the referenced authentication name exists in use.authentications and throw an error if it doesn't.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions