Regression in 2022.7.2 - Cannot paste OAuth2 tokens
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
I use Insomnia to, among other things, debug customer issues by impersonating them on the API. I issue a refresh token in my CLI backend and "refresh" it with Insomnia. Works great.
### Actual Behavior
I upgraded to 2022.7.5 and the token would no longer paste into any of the OAuth2 token fields. I also could not do an interactive authentication code login by clearing and hitting "Fetch Tokens". Did a bunch of version-to-version comparison and it appears this broke in 2022.7.2. (Works fine in 2022.7.1.)
A quick review of the [changelog](https://insomnia.rest/changelog#2022.7.2) doesn't include any issues that smell related.
### Reproduction Steps
1. Create a request that uses OAuth2 for authentication.
2. Attempt to paste in an existing refresh token.
3. App won't allow pasting.
### Is there an existing issue for this?
- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Additional Information
_No response_
### Insomnia Version
2022.7.5
### What operating system are you using?
Ubuntu
### Operating System Version
Linux brad-laptop 5.18.10-76051810-generic #202207071639~1657252310~22.04~7d5e891 SMP PREEMPT_DYNAMIC Fri J x86_64 x86_64 x86_64 GNU/Linux
### Installation method
Downloaded deb and also apt-get repo
### Last Known Working Insomnia version
2022.7.1
Contributor guide
Research direction
Start by reproducing the OAuth2 token-field paste failure and the Fetch Tokens failure described for Insomnia 2022.7.5 on Ubuntu, then compare behavior with 2022.7.1 and the 2022.7.2 regression point. Done means an existing refresh token can be pasted and interactive authentication-code login works again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100