forked from RedHatProductSecurity/osidb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make first login into OSIDB fault-tolerant
On a user's first login we trigger a signal that creates a new Profile object which will link the kerberos login to Bugzilla and JIRA usernames, however this can fail for a number of reasons (expired token, service unavailable, network failure, etc.) and thus we should take care to handle such exceptions and simply let the user login without linking said credentials. In the future we should try to sync at other points in time if possible.
- Loading branch information
Adrian Torres
committed
Jan 23, 2023
1 parent
8642fa0
commit 853a92d
Showing
1 changed file
with
39 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters