Description
Is your feature request related to a problem? Please describe.
I can imagine a use case for organisations who want to self host Hoppscotch on their own infrastructure but want to limit their instance to their employees.
Reasons for this might be that the Hoppscotch instance might contain a default token for a private proxy server that would be required to access restricted API endpoints.
Describe the solution you'd like
Ideally, Hoppscotch could include support for authentication mechanisms. Accessing Hoppscotch would not be possible on private self hosted instances unless the authentication was passed.
These could include:
- OpenID/Oauth2
- SAML
- LDAP
Using existing external authentication systems will allow administrators to easily create permissions in their existing system that they can use to grant members of their organisation access to their Hoppscotch system.
I can imagine this being used amongst development companies who currently may have to rollout something like Postman to all of their employees and also have to be responsible for updating all of these different installed systems. Having a single instance of Hoppscotch solves this.
Describe alternatives you've considered
Personally, I am planning to use Vouch Proxy for this purpose since Hoppscotch does not natively have this ability. Other methods include HTTP Basic Auth however some self hosted applications such as Nextcloud and Bookstack have the Oauth2 ability built right into them.