discord-oidc-worker
discord-oidc-worker copied to clipboard
Error Failed to get your identity
Still doesnt work... I made sure again that the secret is correct...
Any fix?
I've fixed this issue by resetting the client secret. Can you try this?
Tried, still no luck...
@YueMiyuki, Can you try with https://github.com/waktaplay/discord-oidc-worker this? I recently forked this repository and completely rewrittened to h3.
Thanks so much for the stars! I just released a new feature (role data cache + new scope (which already tried to add on #4)) that includes a bug fix that could be causing the issue you're experiencing. (I had the same bug as you a few days ago, so I'm in the process of rewriting everything in typescript with h3.)
Do you know what caused/causes this? In my usage and others I've seen use my original Worker, I've not seen this be an issue so curious where the "bug" is
Do you know what caused/causes this? In my usage and others I've seen use my original Worker, I've not seen this be an issue so curious where the "bug" is
I couldn't figure this out either. It failed because it only returned 400 or 500 without any errors or logs, and Cloudflare says it failed because the worker returned a status other than 200. But I thought it was an unknown and incorrect behavior, like a conflict with another code, so I rewrote everything.
After the rewrite, I tried to prevent the wrong behavior like a conflict as much as possible by applying Clean Architecture and clearly separating all code. Since the problem is not happening now, I just suggested that try using my fork and see if it is the same.
Okay thanks for sharing anyway, it could have been due to the code changes or due to just setting up the config again from scratch.
Yes, I agree. Since we applied Clean Architecture, we can add more detailed and accurate logs. If the error situation is reproduced, I will try to print the log again.
@YueMiyuki, if you get the same error, please let me know. I'll try to get some logs.