deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

Sudden basic auth prompt, loss of "pro" designation

Open RickCogley opened this issue 3 years ago • 1 comments

New to deno, and just started playing around with deno Fresh. Also I'm a newly minted deploy "pro" user.

When I deployed some changes today, wanting to check them out on deno deploy, my test site:

https://rc-deno-fresh-test.deno.dev/

... suddenly started throwing a "basic auth" popup (that kind of drops down from the top of the browser). While I was indeed in the middle of testing basic auth in routes, it was isolated to a single file and not even yet working, so, I was ignoring it for now. It wasn't related to the / route either.

Why would the site suddenly give a signin prompt?

Secondly and I'm not sure if it's related, but as I was poking around the dashboard trying to see if I had inadvertently clicked something related to the above, and the UI was generally throwing a lot of errors. For instance, the logs tab of the project showed an error related to an API token.

Then I noticed the "pro" designation had disappeared from my name on the upper left, so I logged out and back in. The pro designation came back, the logs stopped showing errors, and finally the site stopped showing that login popup.

Can someone shed some light?

RickCogley avatar Jul 04 '22 10:07 RickCogley

@lucacasonato pointed out that this is not a result of the Deno Deploy infrastructure on Discord, and was maybe browser caching. I'm still not sure how I caused this to occur on the root route / because I was testing on /secret/. Also, the popup had different string prompts that what I had in my test code, so I was wondering where it came from. It might have been cached from a very early version, or something.

Still, it's odd that the dashboard appears logged in but is throwing a bunch of errors. If I'm logged out, that should be clear, and the UI should not appear "half logged in and half logged out".

RickCogley avatar Jul 04 '22 22:07 RickCogley