-
Notifications
You must be signed in to change notification settings - Fork 2
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
Only allow machine users to call the registration endpoint #342
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really appreciate the clear notes on the approach
// - The subject field will be of the form "client ID@clients", | ||
// e.g. "sub": "123@clients" | ||
// | ||
// This is belt-and-braces checking; we already trust the JWT. We want |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -1,6 +1,6 @@ | |||
MIT License | |||
|
|||
Copyright (c) 2020 Wellcome Collection | |||
Copyright (c) 2020-2022 Wellcome Collection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could never have guessed that there is no agreed correct way to do something straightforward with a FOSS license
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, haha, I just did this to trigger the pre-commit hook, but apparently it only passes modified files to prettier. 🤷♀️
No description provided.