-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for OAuth2 to OpenAPI3 importer #2184
Add support for OAuth2 to OpenAPI3 importer #2184
Conversation
Deploy preview for insomnia-storybook ready! Built with commit 944b1b9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sebastianjonasson, thanks for working on this! Apologies for the delay. 😞
I will add tests if you want me to proceed.
Code looks good! I will merge once these tests are in. 🤗
@develohpanda - Made some updates and added test. The pre-commit hook generated diffs in these files:
are the meant to be commited? |
No they shouldn't be. Your branch is out of date with the develop, so if you merge with develop that should fix up the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now with the tests 👍
Add support for including OAuth2 settings when importing a workspace from an OpenAPI3 file.
Parses
authorizationUrl
,accessToken
, andscope
from OpenAPI specification file. Then adds templates/variables for user credentials (password
,username
,client_id
,client_secret
).I will add tests if you want me to proceed.
Closes #2183