Azure / Azure/azure-dev

azd login with federated credential fails because the subject is scoped to the GitHub environment name

Open
#5,473 5 comments 0 reactions 1 assignee Claimed by @kristenwomack View on GitHub
area/auth need-upvotes question
Dominant language
Go
Stars
569
Forks
364
Avg merge
2d 19h
Merged PRs (30d)
136

Description

GitHub environments allows for gated approval stages.

Now `azd login` with federated credential fails because the subject is scoped to the GitHub environment name:

AADSTS700213: No matching federated identity record found for presented assertion subject 'repo:JeffreyCA/azd-dev-prod:environment:dev'. Check your federated identity credential Subject, Audience and Issuer against the presented assertion.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.