diff --git a/cps/admin.py b/cps/admin.py index 618d35b6..b95f0329 100755 --- a/cps/admin.py +++ b/cps/admin.py @@ -1120,7 +1120,7 @@ def _configuration_oauth_helper(to_save): "oauth_base_url": to_save["config_" + str(element['id']) + "_oauth_base_url"], "oauth_auth_url": to_save["config_" + str(element['id']) + "_oauth_auth_url"], "oauth_token_url": to_save["config_" + str(element['id']) + "_oauth_token_url"], - "oauth_userinfo_url": to_save["config_" + str(element['id']) + "oauth_userinfo_url"], + "oauth_userinfo_url": to_save["config_" + str(element['id']) + "_oauth_userinfo_url"], "username_mapper": to_save["config_" + str(element['id']) + "_username_mapper"], "email_mapper": to_save["config_" + str(element['id']) + "_email_mapper"], "login_button": to_save["config_" + str(element['id']) + "_login_button"], diff --git a/cps/templates/config_edit.html b/cps/templates/config_edit.html index 570f02d6..c9803f81 100644 --- a/cps/templates/config_edit.html +++ b/cps/templates/config_edit.html @@ -331,10 +331,10 @@ {% endif %} - {% if 'oauth_userid_url' in prov %} + {% if 'oauth_userinfo_url' in prov %}