Skip to content
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

A small question about deploying in cloudflare worker with backend login? #44

Closed
joaine-desion opened this issue Aug 17, 2024 · 6 comments
Labels
question Further information is requested

Comments

@joaine-desion
Copy link

I'm deploying in cloudflare worker, but it's having some issues, after entering the wrong password when logging into the backend, it'll stay on the loading page and the 'Unauthorized' prompt will keep surfacing in the bottom right corner, like what's going on in my picture. Sorry, I'm not sure if this is my own problem? Am I the only one experiencing this?
screenshot-1723907583382

@ccbikai
Copy link
Owner

ccbikai commented Aug 18, 2024

  1. Check the KV binding
  2. SiteToken cannot consist entirely of digits

@ccbikai ccbikai added the question Further information is requested label Aug 18, 2024
@joaine-desion
Copy link
Author

  1. 检查KV绑定
  2. SiteToken不能完全由数字组成

I've checked both options and both are fine. The problem is a bit strange, it occurs when I enter the wrong site token after refreshing a few times, and it also occurs when I log into the demo site “https://sink.cool/dashboard/login”, I'm not sure if it's my browser that's the problem, because when I change my browser it works fine, but when I repeat the operation the problem appears again. I apologize that I'm out of town on a business trip and can't use the browser on my home computer to test this, but here's the situation.
微信图片_20240818211205

@ccbikai
Copy link
Owner

ccbikai commented Aug 20, 2024

Hello, which browser are you using? I'll check for compatibility

@joaine-desion
Copy link
Author

Hello, which browser are you using? I'll check for compatibility

firefox and Quark They all have problems like this
Mozilla Firefox 2024_8_20 20_59_09
新标签页 - 夸克 2024_8_20 21_00_33

@ccbikai
Copy link
Owner

ccbikai commented Aug 20, 2024

Fixed it, please test again using the demo site

@joaine-desion
Copy link
Author

Fixed it, please test again using the demo site

Great, seems to have solved it, just tested it a couple times with no problems

@ccbikai ccbikai closed this as completed Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants