Insert an arXiv ID to image

(and hit enter)




Outline:

  1. The web page contains a link to authorise with the user pool (i.e. sign in)
  2. The callback from that page comes to this page, with an access token

  3. The callback triggers the access token to be saved in local storage (valid for 1 hour)
  4. (There should be a sign out link that will clear the local storage as well as going to the Cognito signout endpoint)
  5. The web page can detect tokens stored in local storage, triggered upon clicking the 'search' button (otherwise it effectively gates the page's functionality)