Dumb bug of the week PSA: If you use @Nextclouders and you get a "State token does not match" error when trying to log in via the app... go into the settings and set a favicon.
Yes, seriously.
-
Show this thread
-
Through whatever convoluted code path I can't figure out, there is no default favicon loaded for the app auth login flow page. That raises an error and returns "" for the path. "" means current page. The browser reloads the login page as a favicon. That invalidates the token.
1 reply 2 retweets 9 likesShow this thread -
3 replies 0 retweets 4 likesShow this thread -
Replying to @marcan42 @Nextclouders
That is firmly in the "should never happen" territory, maybe some weird caching interaction. https://github.com/nextcloud/server/pull/17593 … should make this a bit more fail safe
1 reply 0 retweets 0 likes
Thank you! I had a bug report half written but I was reluctant to file it because I don't have good repro steps. This kind of failsafev fix is exactly what I was hoping to see!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.