summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/auth.py b/python/fatcat_web/auth.py
index fc2430f1..860bd3dc 100644
--- a/python/fatcat_web/auth.py
+++ b/python/fatcat_web/auth.py
@@ -126,7 +126,7 @@ def handle_ia_xauth(email, password):
FakeOAuthRemote = namedtuple('FakeOAuthRemote', ['name', 'OAUTH_CONFIG'])
remote = FakeOAuthRemote(name='archive', OAUTH_CONFIG={'api_base_url': Config.IA_XAUTH_URI})
oauth_info = {
- 'preferred_username': ia_info['screenname'],
+ 'preferred_username': ia_info['itemname'],
'iss': Config.IA_XAUTH_URI,
'sub': ia_info['itemname'],
}