Automatic authorization for Visual Review Tools
Update Auth Flow for Visual Review Toolbar
After chatting with everyone on the project, we have come up with an authentication solution that makes everyone happy!
The functionality will be as follows:
- From the Review App Footer in a merge request (where the info button is now), we will provide the user with a button to create a time-limited Personal Access Token. We should communicate the time limit clearly.
- In the toolbar itself, we need a way to communicate how to create a token, in case users access it directly. We should also on the
401unauthorized error save the content (
sessionStorageprobably) and direct users how to make a new one.
- Add designs
- Build it!