microsoft / microsoft/terminal

Launch log in process of Azure Cloud Shell when expiring the access token.

Open
#9,766 4 comments 0 reactions 0 assignees View on GitHub
Area-AzureShell Help Wanted Issue-Task Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

# Description of the new feature/enhancement
When the access token for Azure Cloud Shell expires, showing log-in prompt is wanted.

Currently, only an error message which means the token is already expired is shown as the following screenshot if the token is expired.
So the user needs to remove the connection setting once.
![image](https://user-images.githubusercontent.com/4566555/114258890-e22bcc80-9a04-11eb-85c8-e770d126aeae.png)

# Proposed technical implementation details (optional)

If the token is expired, it's better that the login process restarts again instead of showing the current error message.
Or it's more appropriate that the messages indicate that the connection settings have to be deleted once.

Could you please consider that?

Thanks.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how Azure Cloud Shell handles an expired access token and where the current error message is produced. Compare the available login-restart and connection-setting-removal behaviors, then verify that expiration leads to a clear login prompt or actionable guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, cpp
Domain
authentication, cli, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.