-
Notifications
You must be signed in to change notification settings - Fork 25
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
oauth: add patron pid #3786
base: staging
Are you sure you want to change the base?
oauth: add patron pid #3786
Conversation
ed906e9
to
a3b19b7
Compare
a3b19b7
to
53cfb2f
Compare
4684778
to
99797ca
Compare
* Adds `patron_pid` to scope. * Closes rero#3710. Co-Authored-by: Peter Weber <[email protected]>
99797ca
to
9e97bf0
Compare
birthdate = "rero_ils.oauth.scopes:birthdate" | ||
patrons = "rero_ils.oauth.scopes:patrons" |
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.
Maybe even call this scope "patron_info" to be even more clear
patron["patron"]["type"] = PatronType.get_record_by_pid( | ||
extracted_data_from_ref(patron["patron"]["type"]["$ref"]) | ||
) | ||
# user = User.get_record(current_user.id).dumps_metadata() | ||
|
||
# Birthdate |
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.
Move the comment
Please update your commit message to explain what we did. This doesn't close #3710. |
patron_pid
to scope.