Coder Social home page Coder Social logo

azauth's Introduction

Hello there! <⚡>

I'm an IT nerd who loves Azure and .NET, always interested in learning something new. When I'm not writing code or exploring serverless tech I enjoy slaying virtual dragons with my friends.

I write potentially educational things about my endeavours in tech on my blog PipeHow.

azauth's People

Contributors

bjompen avatar dependabot[bot] avatar github-actions[bot] avatar palmemanuel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

azauth's Issues

Add data to output object

If I am connected to different environments using Azure PowerShell and az login there is no simple way of knowing which of these connections are used to check out my token.

image
image

Would it be possible to add more data to the returned token, such as source of the token? I know it is strictly ordered and I can find it in the source code, but it would simplify cashing of tokens and decrease the chances of working against wrong environment.

EXO authentication stopped working since friday

When using token to authenticate i get this error:
image
when using token from your module -> if i leave authentication on EXO module alone it works without an issue, how ever this is not usable for my scenario :/ Could i ask you please to take a look in to this issue ?

Use token to connect to MS Exchange Online

Hello,

when using Get-MsalToken from deferent module i am able to connect to whit token to Exchange online powershell
how ever when using more robust Get-AzToken from this module i am not able to connect even that i am passing correct resource url https://outlook.office365.com/

Is there anybody who was able to connect successfully to EXO ?

Module can't be imported on Azure Functions using Linux runtime.

When trying to import the module on an Azure Function using Linux runtime there is a dll loading error.

Runtime is PowerShell ~4, host is Linux. I have not tried on other runtimes.

"PSVersion": {
"Major": 7,
"Minor": 2,
"Patch": 13,
"PreReleaseLabel": null,
"BuildLabel": null
},

image

image

Add support for WorkloadIdentity auth

Implement Workload Identity Federation authentication - something like https://github.com/MicrosoftDocs/microsoft-authentication-library-dotnet/blob/main/msal-dotnet-articles/acquiring-tokens/web-apps-apis/workload-identity-federation.md

This issue is not aiming to solve a single use case such as the Azure.Identity implementation which only supports Kubernetes: https://learn.microsoft.com/en-us/dotnet/api/azure.identity.workloadidentitycredential?view=azure-dotnet

Improve documentation with more examples

Examples of more use cases would be good, for example when working with multiple resources in the same script or session. How to get multiple tokens with only one interactive auth etc.

Add timeout or browser verification when using -interactive

When running Get-AzToken with the -Interactive switch, if no login is performed and the browser window is closed, the command seems to hang.

Steps to reproduce

Make sure no active sessions are available
Run

Get-AzToken -Interactive 

Close the opened browser window without logging in.

Expected behaviour

If possible, I would prefer the command to either simply stop, or return an error (no account logged on or similar, something we can catch in a catch block)
If not, at least a timeout of n+1 seconds before throwing an error to prevent pipelines from hanging.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.