Closed Becky-Williamson closed 1 year ago
I didn't reproduce it. If I already signed in to SAS Studio, the SASLogon will directly display the authorization code to me. However, I do think there's an issue to #57. As Becky described, if user cancel the authorization code box, means the user cancelled the Sign in process, the Sign in button should become active again. @scottdover
I can reproduce this every time. I'd be happy to demonstrate what I'm seeing if anyone would like to see it.
Hey @Becky-Williamson . I'm wondering if you can reproduce this using the run code button (in the main branch of code) instead of the sign in button?
@scottdover, no, I can't reproduce it using the run code button. It seems to only happen with the Sign in button.
Hmm. I just checked it on main following the above and was able to reproduce using the run code button and the steps above.
My hunch is that there are two issues. One is present on main, and has something to do with the recent auth provider changes. The other (the inactive sign in button), I can address in my current set of changes.
@scottdover, I apologize. I can reproduce with the run button. I don't know if I left out a step last time but I just tried it again and I was able to reproduce it.
It also seems like auth isn't working as expected since the new changes have made their way on to the mwf/tth images. At the moment, if you click Authorize Access (see screenshot), things don't redirect and the auth code box isn't dismissed/populated in vscode
@Becky-Williamson, would you help try below to help isolate the problem? I know there's a issue with Chrome/Edge. Would you try click the "Copy" instead of the "Open" for the message "Do you want Code to open the external website?", then paste the URL to Firefox to proceed. And for the screen shot Scott posted above, check any checkbox before Authorize Access. Thanks.
If I copy the URL into Firefox it does automatically authenticate, both with the run button and the Sign In button.
The server has been reverted. Not a problem now.
Steps to reproduce:
Expected results: I'm not sure what should happen here. I am already logged in so it doesn't make sense to sign in again.
Actual results: The SAS Logon Manager tab opens in the browser with a message that says "You have signed in" and a Sign out button. If I go back to VSC and hit escape to cancel the authorization code box, the box closes, but the Sign In button is inactive and I can't get it to come back without closing VSC and reopening it.