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

Proper Scopes for CMI5 #1598

Open
theZaX opened this issue Sep 15, 2021 · 0 comments
Open

Proper Scopes for CMI5 #1598

theZaX opened this issue Sep 15, 2021 · 0 comments

Comments

@theZaX
Copy link

theZaX commented Sep 15, 2021

I've been working on integrating CMI5 courses with learninglocker, I have it working with a broadly scoped token returned from the fetch endpoint that essentailly gives clients access to everything in the LRS.

This obviously wouldn't work for production, my current plan is to generate a token that is scoped to the user. On the documentation https://docs.learninglocker.net/http-clients/ it appears to have "statements/read/mine" "statements/write" as the way to scope it to a user. Then it has a broad "state" and "profile".

If what I am thinking is correct the only way to let the CMI5 course update the state for its own lesson is to give it access to state for the entire LRS? Also is the only way to give the course access to write statements giving access to read all statements for that user as well?

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

No branches or pull requests

1 participant