pulibrary / orcid_princeton

To support researchers and leverage ORCID identifiers for research data in the Princeton community
GNU General Public License v3.0
2 stars 0 forks source link

Allows a user to revoke ORCiD tokens #232

Closed hectorcorrea closed 1 month ago

hectorcorrea commented 1 month ago

Adds a button to allow a user to manually revoke ORCiD tokens. Works towards #143.

Notice that this implementation revokes the tokens as soon as the user clicks the button without checking with ORCiD if the token is still valid or not. I did it this way because it was simpler but that's also why I am not closing issue #143. I can add the API check to ORCiD for real in a separate PR if we still want it.

New button

Screenshot 2024-07-31 at 3 12 42 PM

Display after tokens have been revoked

Screenshot 2024-07-31 at 3 17 52 PM