diff --git a/frontend/coprs_frontend/coprs/auth.py b/frontend/coprs_frontend/coprs/auth.py index ecec9a3cb..0a6b3e34f 100644 --- a/frontend/coprs_frontend/coprs/auth.py +++ b/frontend/coprs_frontend/coprs/auth.py @@ -142,7 +142,16 @@ def login(): # TODO Ask for SSH public key. Anybody knows where is the list of # available keys that we can ask for? - # import ipdb; ipdb.set_trace() + # + # According to the documentation, we can ask only for a predefined set + # of values and SSH keys are not between them. + # https://pythonhosted.org/Flask-OpenID/#flask_openid.OpenID.try_login + # + # We might need to login using Kerberos and download + # https://fasjson.fedoraproject.org/v1/users/frostyx/ + # The kerberos usage on servers is quite simple, FrostyX uses the + # following command for fedora-sponsors: + # kinit -kt /home/fedora/kt fedorathirdparty@FEDORAPROJECT.ORG return oid.try_login(app.config["OPENID_PROVIDER_URL"], ask_for=["email", "timezone"],