cern-sis / issues-inspire

0 stars 0 forks source link

Integrate UI login with orcid #509

Open drjova opened 3 months ago

drjova commented 3 months ago

In the new backoffice we aleady have an ORCID integration, we have to integrate it with the login logic of the UI.

karolina-siemieniuk-morawska commented 2 months ago

TECH NOTES:

  1. Rename and move local login page to separate url and restrict access only to superusers (similarly to inspirehep)
  2. In place of current login page add hyperlink to https://backoffice.dev.inspirebeta.net/accounts/login/ The process should roughly resemble the following: open Orcin in new window/iframe -> login with orcid -> intercept JWT and refresh token returned after orcid login -> pass it to new holdingpen -> rest of the login flow as before

More details TBD

karolina-siemieniuk-morawska commented 1 month ago

@drjova Frontend here: https://github.com/inspirehep/inspirehep/pull/3243

DonHaul commented 1 month ago

📌 Contact orcid, to upde the qa, dev and prod urls

DonHaul commented 1 month ago

Important step for it to work: https://github.com/cern-sis/kubernetes-inspire/blob/main/backoffice/base/production.py#L244