-
Notifications
You must be signed in to change notification settings - Fork 228
Login guard middleware with automatic login #5204
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
base: main
Are you sure you want to change the base?
Conversation
d9334cc
to
1946fe7
Compare
@SophCarp - Thoughts on this auto-login feature? Why throw an error when we can just help the user get logged in now. |
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash:
pwsh:
WindowsPowerShell install
MSI install
Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
Thats great, I love it! |
Adds Login Guard middleware to detect if a user is logged in
Adds login guard for the following:
azd pipeline *
azd provision
azd deploy
azd up
azd down
Let me know if i am missing any commands
Updated to prompt for auto-login
One of the cool things we can do with the middleware is to prompt the user to login right now - then after login the action they wanted to run will just kick off.
User is not logged in yet
User choose to continue with login
After login - original action continues without interrupting the user or throwing an error.
