-
Notifications
You must be signed in to change notification settings - Fork 108
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
Unable to generate refresh token - KeyError: 'PROVIDE_AUTOMATIC_OPTIONS #26
Comments
Hi, looks like Quart recently pushed breaking changes which causing this issue. This can be fixed by degrading installed Quart version by running following command: or mention it in |
@TheCaduceus Thanks for replying, same issue with 0.19.6 |
@TheCaduceus Fixed by adding this to requirements.txt flask==3.0.3 Quart downgrade not required. |
Recently, Flask released a breaking update about 12 hours ago, and since Quart uses Flask without locking its version, this caused an issue (pallets/quart#371) in Quart for everyone. For now, I have manually locked all dependency versions to resolve the issue. You can update your |
Thanks @TheCaduceus I created a PR but looks like you've updated already, will close my PR. Thanks |
Getting this as soon as I run python auth.py locally. Worked few months back.
app.py.py", line 5, in
app = Quart(name)
^^^^^^^^^^^^^^^
AppData\Local\Programs\Python\Python312\Lib\site-packages\flask\sansio\app.py", line 641, in add_url_rule
if "OPTIONS" not in methods and self.config["PROVIDE_AUTOMATIC_OPTIONS"]:
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'PROVIDE_AUTOMATIC_OPTIONS'
The text was updated successfully, but these errors were encountered: