ssl-hep/ServiceX_App

Implement User Pre-configuration

Opened this issue · 0 comments

I am looking for a way to pre-configure users in our ServiceX deployment (configured with globus auth setup), so they do not need to use a browser to login and create a profile manually, and wait for approval before using the system. The idea would be to pre-populate a local user's ~/sevicex.yaml file when their local UNIX account is created. I can get a user's sub id with globus get-identities (if they've already used globus), and populating the fields in the ServiceX users table in postgresql is straightforward, except I cannot find a way as the admin user to generate a refresh token for another user using the REST API: this would be a useful feature if it's possible to implement.