You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2020/09/17 20:38:00 UTC
[jira] [Updated] (AIRAVATA-3375) BUG: Intermittently CILogon users
are not activated because although they are verified, not available in
Airavata user profile
[ https://issues.apache.org/jira/browse/AIRAVATA-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcus Christie updated AIRAVATA-3375:
--------------------------------------
Description:
# A user used CILogon and used their institutional login to create a gateway account.
# When tried to login, error throws [1]
# When gateway admin investigates, it displays [2] in Manage users.
[1]
Fail to process oauth2 callback: failed to authenticate user
[2]
User tttt@xx.edu has verified their login, but doesn't yet have an Airavata User Profile. Click *Activate* to create an Airavata User Profile for this user. This will allow the user to be assigned to groups.
Traceback from error email:
{noformat}
File "/var/www/portals/django-lrose/airavata-django-portal/django_airavata/=
apps/auth/views.py" in callback
132. login(request, user)
File "/var/www/portals/django-lrose/venv/lib64/python3.6/site-packages/djan=
go/contrib/auth/__init__.py" in login
155. request.session[SESSION_KEY] =3D user._meta.pk.value_to_string(u=
ser)
File "/var/www/portals/django-lrose/venv/lib64/python3.6/site-packages/djan=
go/utils/functional.py" in inner
239. return func(self._wrapped, *args)
Exception Type: AttributeError
Exception Value: 'AnonymousUser' object has no attribute '_meta'
Request data not supplied
{noformat}
was:
# A user used CILogon and used their institutional login to create a gateway account.
# When tried to login, error throws [1]
# When gateway admin investigates, it displays [2] in Manage users.
[1]
Fail to process oauth2 callback: failed to authenticate user
[2]
User tttt@xx.edu has verified their login, but doesn't yet have an Airavata User Profile. Click *Activate* to create an Airavata User Profile for this user. This will allow the user to be assigned to groups.
> BUG: Intermittently CILogon users are not activated because although they are verified, not available in Airavata user profile
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: AIRAVATA-3375
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3375
> Project: Airavata
> Issue Type: Sub-task
> Components: Airavata System
> Affects Versions: 0.19
> Environment: https://gateway.lrose.net/
> Reporter: Eroma
> Assignee: Marcus Christie
> Priority: Major
> Fix For: 0.20
>
> Attachments: Screen Shot 2020-09-17 at 4.06.30 PM.png, Screen Shot 2020-09-17 at 4.15.07 PM.png
>
>
> # A user used CILogon and used their institutional login to create a gateway account.
> # When tried to login, error throws [1]
> # When gateway admin investigates, it displays [2] in Manage users.
> [1]
> Fail to process oauth2 callback: failed to authenticate user
> [2]
> User tttt@xx.edu has verified their login, but doesn't yet have an Airavata User Profile. Click *Activate* to create an Airavata User Profile for this user. This will allow the user to be assigned to groups.
> Traceback from error email:
> {noformat}
> File "/var/www/portals/django-lrose/airavata-django-portal/django_airavata/=
> apps/auth/views.py" in callback
> 132. login(request, user)
> File "/var/www/portals/django-lrose/venv/lib64/python3.6/site-packages/djan=
> go/contrib/auth/__init__.py" in login
> 155. request.session[SESSION_KEY] =3D user._meta.pk.value_to_string(u=
> ser)
> File "/var/www/portals/django-lrose/venv/lib64/python3.6/site-packages/djan=
> go/utils/functional.py" in inner
> 239. return func(self._wrapped, *args)
> Exception Type: AttributeError
> Exception Value: 'AnonymousUser' object has no attribute '_meta'
> Request data not supplied
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)