diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-07 14:49:17 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-07 14:49:17 -0700 |
commit | 04fb2c1d0683662161f1ba481d2c33e59242aade (patch) | |
tree | 7cfc437bee59ed9a01fdb9be27243ce77c8c411c /python/fatcat_web | |
parent | a4154b5435dfd9f4398953dd88e0c96438ff561c (diff) | |
download | fatcat-04fb2c1d0683662161f1ba481d2c33e59242aade.tar.gz fatcat-04fb2c1d0683662161f1ba481d2c33e59242aade.zip |
remove periods from oauth usernames
Diffstat (limited to 'python/fatcat_web')
-rw-r--r-- | python/fatcat_web/auth.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_web/auth.py b/python/fatcat_web/auth.py index 06c8475b..a83fd73f 100644 --- a/python/fatcat_web/auth.py +++ b/python/fatcat_web/auth.py @@ -62,6 +62,7 @@ def handle_oauth(remote, token, user_info): else: preferred_username = user_info['sub'] + preferred_username = preferred_username.replace('.', '') params = fatcat_client.AuthOidc(remote.name, user_info['sub'], iss, preferred_username) # this call requires admin privs (resp, http_status, http_headers) = priv_api.auth_oidc_with_http_info(params) |