Custom popup / message - adding custom script, getting student info

kierenj
Community Novice

Hi - I'm fairly new to Canvas and evaluating its potential use. I've found details of the API and LTI extensions.

What I'm trying to discern is whether it is possible to have some custom Javascript run in the context of a page - when a student logs in to the hosted Canvas instance, to display some information pulled from the canvas API / a separate API, which may be dependent on the logged in student's email address / name.

For instance, can I add a <script> tag to the landing page after login? Does JS have access to cookies/local storage which might store a JWT or similar, which can be validated via some endpoint or public key?

Thanks

Labels (2)