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

'curr_user_name' always empty #18

Open
kalaklanar opened this issue Mar 20, 2023 · 0 comments
Open

'curr_user_name' always empty #18

kalaklanar opened this issue Mar 20, 2023 · 0 comments

Comments

@kalaklanar
Copy link

kalaklanar commented Mar 20, 2023

The curr_user_name never carries a value, either at the app.py level, or when passed to the template game.html from 'curr_user_name': message_launch_data.get('name', ''),

This also doesn't appear in the dump of printing when using print(message_launch_data, flush=True) in the app.py level. The closest thing that is passed is:

'https://purl.imsglobal.org/spec/lti/claim/lti1p1': {    
    'user_id': '512e7dfb54268f2e9bb492b2298982a52d64df55',
    'validation_context': None,
    'errors': {'errors': {}}},
    'errors': {'errors': {}},

I'm not sure if this is a bug in the example code, of if it something that's missing in pylti1p3 (not sending the name in the message). I can make an issue there if that is what is more appropriate.

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