irods-contrib / irods_auth_plugin_openid

Other
2 stars 2 forks source link

Don't create a multiple session entries per user #13

Closed theferrit32 closed 6 years ago

theferrit32 commented 6 years ago

If a user authenticates via iinit and the openid login flow, and there is already a metadata entry attached to that user in iRODS, use that session id for this new client as well. This avoids the problem of having many entries auth metadata entries per user which grows theoretically infinitely depending on how many times the user logs into iRODS from scratch.

This is implemented in parallel to a change made in the heliumdatacommons services. https://github.com/heliumdatacommons/data_registration_service/issues/7