Dictionary key error if invalid secret is used after successful login #35
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I had GIFT up and running. Great add-on, thanks for all your work!
I accidentally committed my secret to my repo (despite making an auth file to avoid that 😒) so I created a new secret at dev.twitch.tv and updated the secret in the auth file.
Now attempting to connect I receive a
403: Invalid client secretresponse and the add-on crashes at line174ingift_node.gd.Try deleting the file located at
user://gift/auth/user_tokenand let me know if that fixes it - will fix this problem in a future update if it does.No fix from that.
I think the problem is that when the 403 is returned the token dictionary has only two entries, neither of which is
"access token".This should now be solved with the rewrite.
PS: Also no more accidentally pushing client secrets since the Implicit Grant Flow is now supported. Now you can comfortably ship your games with your client_id included in the exported project and users no longer have to create their own apps through the developer console.