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

OAuth2.0授权服务器demo有问题 #198

Open
361so opened this issue Jul 12, 2023 · 1 comment
Open

OAuth2.0授权服务器demo有问题 #198

361so opened this issue Jul 12, 2023 · 1 comment

Comments

@361so
Copy link

361so commented Jul 12, 2023

从OAuth2.0授权服务器模板创建后,访问接口,提示如下错误:
image

@361so
Copy link
Author

361so commented Jul 12, 2023

{"errorCode":1,"errorMessage":"Traceback (most recent call last):\n File "/var/runtime/python3/bootstrap.py", line 133, in init_handler\n func_handler = get_func_handler(file.rsplit(".", 1)[0], func)\n File "/var/runtime/python3/bootstrap.py", line 159, in get_func_handler\n mod = imp.load_module(mname, *imp.find_module(mname))\n File "/var/lang/python3/lib/python3.6/imp.py", line 234, in load_module\n return load_source(name, filename, file)\n File "/var/lang/python3/lib/python3.6/imp.py", line 172, in load_source\n module = _load(spec)\n File "\u003cfrozen importlib._bootstrap\u003e", line 675, in _load\n File "\u003cfrozen importlib._bootstrap\u003e", line 655, in _load_unlocked\n File "\u003cfrozen importlib._bootstrap_external\u003e", line 678, in exec_module\n File "\u003cfrozen importlib._bootstrap\u003e", line 205, in _call_with_frames_removed\n File "/var/user/sl_handler.py", line 1, in \u003cmodule\u003e\n import app # Replace with your actual application\n File "/var/user/app.py", line 5, in \u003cmodule\u003e\n import python_jwt as jwt, jwcrypto.jwk as jwk, datetime\n File "/var/user/python_jwt/init.py", line 8, in \u003cmodule\u003e\n from jwcrypto.jws import JWS, JWSHeaderRegistry\n File "/var/user/jwcrypto/jws.py", line 7, in \u003cmodule\u003e\n from jwcrypto.jwa import JWA\n File "/var/user/jwcrypto/jwa.py", line 8, in \u003cmodule\u003e\n from cryptography.exceptions import InvalidSignature\n File "/var/user/cryptography/init.py", line 5\n from future import annotations\n ^\nSyntaxError: future feature annotations is not defined","requestId":"5709fc1ed6fda367cf2d8f896a5bad40","statusCode":443}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant