Open florian-jaeger opened 7 months ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Proposed change
Allow
username_key
value to be a function for username calculation.Who would use this feature?
Users who want to customise usernames without adding custom LTI claims.
Suggest a solution
Turn
username_key
into aUnion
traitlet which can be eitherUnicode
orCallable
(function with an ID token parameter, which returns the username inLTI13Authenticator.get_username
).Alternatively a new
Callable
traitlet could be added instead.