You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the scoreboard(), the code "members = message_launch.get_nrps().get_members()" in scoreboard() of app.py get the error as a "{"error":"invalid_request","error_description":"the 'aud' is invalid"} for https:///login/oauth2/token request I verified here the aud value is going as a https:///login/oauth2/token, I am not getting what aud value should be here.
Here is the log:
Traceback (most recent call last):
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 2548, in call
return self.wsgi_app(environ, start_response)
File "//pylti1.3-flask-example/game/app.py", line 26, in call
return self.app(environ, start_response)
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 2528, in wsgi_app
response = self.handle_exception(e)
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "//pylti1.3-flask-example/game/app.py", line 306, in enrolls
members = message_launch.get_nrps().get_members()
File "//anaconda3/envs//lib/python3.9/site-packages/pylti1p3/names_roles.py", line 84, in get_members
members, members_url = self.get_members_page(members_url)
File "//anaconda3/envs//lib/python3.9/site-packages/pylti1p3/names_roles.py", line 66, in get_members_page
data = self.get_nrps_data(members_url=members_url)
File "//anaconda3/envs//lib/python3.9/site-packages/pylti1p3/names_roles.py", line 48, in get_nrps_data
data = self.service_connector.make_service_request(
File "//anaconda3/envs//lib/python3.9/site-packages/pylti1p3/service_connector.py", line 131, in make_service_request
access_token = self.get_access_token(scopes)
File "//anaconda3/envs//lib/python3.9/site-packages/pylti1p3/service_connector.py", line 101, in get_access_token
raise LtiServiceException(r)
pylti1p3.exception.LtiServiceException: HTTP response [https://__/login/oauth2/token]: 400 - {"error":"invalid_request","error_description":"the 'aud' is invalid"}
Looking forward to your reply.
The text was updated successfully, but these errors were encountered:
When I use the scoreboard(), the code "members = message_launch.get_nrps().get_members()" in scoreboard() of app.py get the error as a "{"error":"invalid_request","error_description":"the 'aud' is invalid"} for https:///login/oauth2/token request I verified here the aud value is going as a https:///login/oauth2/token, I am not getting what aud value should be here.
Here is the log:
Traceback (most recent call last):
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 2548, in call
return self.wsgi_app(environ, start_response)
File "//pylti1.3-flask-example/game/app.py", line 26, in call
return self.app(environ, start_response)
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 2528, in wsgi_app
response = self.handle_exception(e)
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "//anaconda3/envs//lib/python3.9/site-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "//pylti1.3-flask-example/game/app.py", line 306, in enrolls
members = message_launch.get_nrps().get_members()
File "//anaconda3/envs//lib/python3.9/site-packages/pylti1p3/names_roles.py", line 84, in get_members
members, members_url = self.get_members_page(members_url)
File "//anaconda3/envs//lib/python3.9/site-packages/pylti1p3/names_roles.py", line 66, in get_members_page
data = self.get_nrps_data(members_url=members_url)
File "//anaconda3/envs//lib/python3.9/site-packages/pylti1p3/names_roles.py", line 48, in get_nrps_data
data = self.service_connector.make_service_request(
File "//anaconda3/envs//lib/python3.9/site-packages/pylti1p3/service_connector.py", line 131, in make_service_request
access_token = self.get_access_token(scopes)
File "//anaconda3/envs//lib/python3.9/site-packages/pylti1p3/service_connector.py", line 101, in get_access_token
raise LtiServiceException(r)
pylti1p3.exception.LtiServiceException: HTTP response [https://__/login/oauth2/token]: 400 - {"error":"invalid_request","error_description":"the 'aud' is invalid"}
Looking forward to your reply.
The text was updated successfully, but these errors were encountered: