You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that SPFx toolkit has a glitch that even though the status command returns that I am logged in, the first command to get the app catalogs from my tenant requires me to sign in which is only visible in the output window. This leads to a state were I am not logged in, I don't see anything in the account and app catalog view, but I also don't see the sign-in button. We should fix it up.
From what i checked the token expired and I need to resign to refresh it. This is fine but:
first is the above described problem, I don't see the sign it or out button, I need to 'manually' sign out using the command palette in VS Code and then I am able to relogin
when signing out we clear out the client Id and tenant Id. Usually I don't remember those so I just create an another entra app reg. I must have like 40 SPFx Toolkit apps by now on my tenant 😅. What we could do is 'cache' the client and tenant Id so that when next time we relogin and we pick to sign in using the existing client Id and tenant Id we have those fields prefilled with the previous values (when we previously sign in). VS Code has a mechanism for that to preserve state between multiple sessions of VS Code and we could use that.
📷 Images (if possible) with expected result
No response
🤔 Additional remarks or comments
No response
Prototype
in global handle of any CLI command execution we need to add logic that when a login message will get present we should present a notify to the user to relogin to your tenant and sign out user totally and show like initial state
🎯 Aim of the feature
I noticed that SPFx toolkit has a glitch that even though the status command returns that I am logged in, the first command to get the app catalogs from my tenant requires me to sign in which is only visible in the output window. This leads to a state were I am not logged in, I don't see anything in the account and app catalog view, but I also don't see the sign-in button. We should fix it up.
From what i checked the token expired and I need to resign to refresh it. This is fine but:
📷 Images (if possible) with expected result
No response
🤔 Additional remarks or comments
No response
Prototype
https://stackoverflow.com/questions/51821924/how-to-persist-information-for-a-vscode-extension
based on what we have in the global state we should prefill the clientId and tenantId in the login notifys
The text was updated successfully, but these errors were encountered: