-
Notifications
You must be signed in to change notification settings - Fork 105
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
Should registrations be indexed by client ID as well as issuer? #62
Comments
Looks like there's a few different use-cases.
I can see why |
It makes sense to find the registration by issuer and client ID. However, Blackboard doesn't send the client ID initially, so you should be able to find the registration by issuer only. We use the following method signature in the class that implements the Database interface: |
That makes a lot of sense - thank you! |
PODA-539 Update PR template and changelog
We've been tinkering with this library, and noticed that the database of registrations is queried by issuer alone (
iss
from the JWT). However, for platforms like Canvas cloud, theiss
would be the same across all tenant instances, and the process of adding a tool to any individual instance would generate a newclient ID
.Should registrations be keyed by
<iss, clientId>
pairs, rather than byiss
alone?The text was updated successfully, but these errors were encountered: