Insert an arXiv ID to image
(and hit enter)
(and hit enter)
Outline:
- The web page contains a link to authorise with the user pool (i.e. sign in)
The callback from that page comes to this page, with an access token
- The callback triggers the access token to be saved in local storage (valid for 1 hour)
- (There should be a sign out link that will clear the local storage as well as going to the Cognito signout endpoint)
- The web page can detect tokens stored in local storage, triggered upon clicking the 'search' button (otherwise it effectively gates the page's functionality)