Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azidentity: get RefreshToken and IDToken #22776

Open
guilhem opened this issue Apr 23, 2024 · 3 comments
Open

azidentity: get RefreshToken and IDToken #22776

guilhem opened this issue Apr 23, 2024 · 3 comments
Assignees
Labels
Azure.Identity customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-author-feedback More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@guilhem
Copy link

guilhem commented Apr 23, 2024

Feature Request

Following #3804 and deprecation of go-autorest, it would be good to have more information in azcore.AccessToken.

Like id_token or refresh_token.

Why

For example, current implementation of oauth2 in oauth2-proxy use client-secret. I would like to use workload identity for example.

https://github.com/oauth2-proxy/oauth2-proxy/blob/fc701bfd6a992bb074671b91ac89b50a79d3dc3d/providers/azure.go#L161

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Apr 23, 2024
@jhendrixMSFT jhendrixMSFT added Azure.Identity and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Apr 23, 2024
@github-actions github-actions bot added the needs-team-attention This issue needs attention from Azure service team or SDK team label Apr 23, 2024
@chlowell
Copy link
Contributor

We don't plan to include refresh or ID tokens in the azidentity API because it's designed to authenticate Azure SDK clients, which need only access tokens. I can add more context to that if it's helpful but I'm not sure it's relevant because workload identity doesn't involve refresh or ID tokens. Can you add some more detail about what you're trying to implement?

@chlowell chlowell added needs-author-feedback More information is needed from author to address the issue. and removed needs-team-attention This issue needs attention from Azure service team or SDK team labels Apr 23, 2024
Copy link

Hi @guilhem. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

Copy link

Hi @guilhem, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

@github-actions github-actions bot added the no-recent-activity There has been no recent activity on this issue. label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Identity customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-author-feedback More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
Status: Untriaged
Development

No branches or pull requests

3 participants