[GH-ISSUE #3469] Login page #1173

Closed
opened 2026-03-16 18:58:41 +03:00 by kerem · 13 comments
Owner

Originally created by @UBT-FJ on GitHub (Oct 24, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3469

Hello,

is it possible to have the login page without having the main page accessable? so anyone lands on the URL they would need to login first so they can use the system.

Originally created by @UBT-FJ on GitHub (Oct 24, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3469 Hello, is it possible to have the login page without having the main page accessable? so anyone lands on the URL they would need to login first so they can use the system.
kerem 2026-03-16 18:58:41 +03:00
Author
Owner

@thetronjohnson commented on GitHub (Oct 25, 2023):

@UBT-FJ Hi, could you explain a bit more on the use case here?
The current approach enables user's to easily get started with API testing as soon as they land on hoppscotch.io

<!-- gh-comment-id:1778609083 --> @thetronjohnson commented on GitHub (Oct 25, 2023): @UBT-FJ Hi, could you explain a bit more on the use case here? The current approach enables user's to easily get started with API testing as soon as they land on hoppscotch.io
Author
Owner

@balub commented on GitHub (Oct 25, 2023):

@UBT-FJ the behaviour you are asking for is currently not available in the Hoppscotch app.

<!-- gh-comment-id:1778677200 --> @balub commented on GitHub (Oct 25, 2023): @UBT-FJ the behaviour you are asking for is currently not available in the Hoppscotch app.
Author
Owner

@UBT-FJ commented on GitHub (Oct 25, 2023):

@balub I got that it is not available but maybe there is a way to add it!

@thetronjohnson what I would want is to have a user database and add people that I want to access the first page, then allow them to access the selfhost hoppscotch, then inside there it should be as it is.

<!-- gh-comment-id:1778703875 --> @UBT-FJ commented on GitHub (Oct 25, 2023): @balub I got that it is not available but maybe there is a way to add it! @thetronjohnson what I would want is to have a user database and add people that I want to access the first page, then allow them to access the selfhost hoppscotch, then inside there it should be as it is.
Author
Owner

@thetronjohnson commented on GitHub (Oct 25, 2023):

@UBT-FJ , understood.

The community edition of Hoppscotch self-hosted works the same way as hoppscotch.io, with an additional admin dashboard. Therefore, there is no way to restrict access to approved users only. You might have to host your instance under a VPN to prevent unauthorized access.

However, we offer this feature in our self-hosted enterprise edition, where only users approved by the admin can access the app.

<!-- gh-comment-id:1778721629 --> @thetronjohnson commented on GitHub (Oct 25, 2023): @UBT-FJ , understood. The community edition of Hoppscotch self-hosted works the same way as hoppscotch.io, with an additional admin dashboard. Therefore, there is no way to restrict access to approved users only. You might have to host your instance under a VPN to prevent unauthorized access. However, we offer this feature in our self-hosted enterprise edition, where only users approved by the admin can access the app.
Author
Owner

@prom00 commented on GitHub (Nov 13, 2023):

@UBT-FJ , understood.

The community edition of Hoppscotch self-hosted works the same way as hoppscotch.io, with an additional admin dashboard. Therefore, there is no way to restrict access to approved users only. You might have to host your instance under a VPN to prevent unauthorized access.

However, we offer this feature in our self-hosted enterprise edition, where only users approved by the admin can access the app.

I'm kind of surprised by this, as this is offered as open source. The pricing on the enterprise is even higher than the 'original' Postman. This is being advertised as great for small teams and commercial projects. How can this be used for a small team, where everybody can access this without having to login?

image

<!-- gh-comment-id:1807564878 --> @prom00 commented on GitHub (Nov 13, 2023): > @UBT-FJ , understood. > > The community edition of Hoppscotch self-hosted works the same way as hoppscotch.io, with an additional admin dashboard. Therefore, there is no way to restrict access to approved users only. You might have to host your instance under a VPN to prevent unauthorized access. > > However, we offer this feature in our self-hosted enterprise edition, where only users approved by the admin can access the app. I'm kind of surprised by this, as this is offered as open source. The pricing on the enterprise is even higher than the 'original' Postman. This is being advertised as great for small teams and commercial projects. How can this be used for a small team, where everybody can access this without having to login? ![image](https://github.com/hoppscotch/hoppscotch/assets/46184489/9edd5158-dc85-4df8-ab76-a15722b3e41a)
Author
Owner

@AurelienConte commented on GitHub (Nov 29, 2023):

Totally agree with @prom00, i am testing to add this to my enterprise and after fully setuped my self hosted instance it is a red flags since everyone can access it without any login page.

The current community edition must be used under a VPN but for startups and small teams this can be difficult to maintain.

I would love to have the possibility to restrict the landing page with a login page.

<!-- gh-comment-id:1832570708 --> @AurelienConte commented on GitHub (Nov 29, 2023): Totally agree with @prom00, i am testing to add this to my enterprise and after fully setuped my self hosted instance it is a red flags since everyone can access it without any login page. The current community edition must be used under a VPN but for startups and small teams this can be difficult to maintain. I would love to have the possibility to restrict the landing page with a login page.
Author
Owner

@liyasthomas commented on GitHub (Nov 30, 2023):

This is a feature for organizations and enterprises. Consider self-hosting our enterprise edition that has private Hoppscotch Self-Hosted instances support that only allows authorized login-only users.

Documentation: https://docs.hoppscotch.io/documentation/self-host/enterprise-edition/getting-started
Enterprise Store: https://enterprise.hoppscotch.com

<!-- gh-comment-id:1833155662 --> @liyasthomas commented on GitHub (Nov 30, 2023): This is a feature for organizations and enterprises. Consider self-hosting our enterprise edition that has private Hoppscotch Self-Hosted instances support that only allows authorized login-only users. Documentation: https://docs.hoppscotch.io/documentation/self-host/enterprise-edition/getting-started Enterprise Store: https://enterprise.hoppscotch.com
Author
Owner

@prom00 commented on GitHub (Nov 30, 2023):

This is a feature for organizations and enterprises. Consider self-hosting our enterprise edition that has private Hoppscotch Self-Hosted instances support that only allows authorized login-only users.

Documentation: https://docs.hoppscotch.io/documentation/self-host/enterprise-edition/getting-started Enterprise Store: https://enterprise.hoppscotch.com

I don't really understand how you think a (small) team can work with this while everything is publicly open and available for the whole world. Even with the matter of security these days it's a basic functionality that you secure your data.

Whoever is using hoppscotch now, all data from the system is available for everyone whenever they find a small glitch somewhere, since they can easily register themselves to the system.

I get it, you want people to buy a license. But remember why people come to Hoppscotch from other (cough Postman) systems.
Making the application login protected will make the system alot more robust if you ask me.

We already have the problem "sorted" by using a basic authentication on apache. But that's just not a real solution if you ask me.

Edit:
We already self host this on a vm. If I'm not mistaking, if we host the enterprise edition, we will pay 19$ per month per user right?

<!-- gh-comment-id:1833235660 --> @prom00 commented on GitHub (Nov 30, 2023): > This is a feature for organizations and enterprises. Consider self-hosting our enterprise edition that has private Hoppscotch Self-Hosted instances support that only allows authorized login-only users. > > Documentation: https://docs.hoppscotch.io/documentation/self-host/enterprise-edition/getting-started Enterprise Store: https://enterprise.hoppscotch.com I don't really understand how you think a (small) team can work with this while everything is publicly open and available for the whole world. Even with the matter of security these days it's a basic functionality that you secure your data. Whoever is using hoppscotch now, all data from the system is available for everyone whenever they find a small glitch somewhere, since they can easily register themselves to the system. I get it, you want people to buy a license. But remember why people come to Hoppscotch from other (cough Postman) systems. Making the application login protected will make the system alot more robust if you ask me. We already have the problem "sorted" by using a basic authentication on apache. But that's just not a real solution if you ask me. Edit: We already self host this on a vm. If I'm not mistaking, if we host the enterprise edition, we will pay 19$ per month per user right?
Author
Owner

@liyasthomas commented on GitHub (Nov 30, 2023):

Access control protection and team login protection options are available on Enterprise plan.

In Hoppscotch self-hosted community edition, users can control allowed authentication providers, or control site access by IP address or location or via firewall traffic rules or by any external means.

Hoppscotch enterprise edition has inbuilt access control mechanisms to secure access to the self-hosted instances. Enterprise edition includes more features like SSO authentication, audit logs, etc and the license is priced at $19/user/month.

<!-- gh-comment-id:1833400136 --> @liyasthomas commented on GitHub (Nov 30, 2023): Access control protection and team login protection options are available on Enterprise plan. In Hoppscotch self-hosted community edition, users can control allowed authentication providers, or control site access by IP address or location or via firewall traffic rules or by any external means. Hoppscotch enterprise edition has inbuilt access control mechanisms to secure access to the self-hosted instances. Enterprise edition includes more features like SSO authentication, audit logs, etc and the license is priced at $19/user/month.
Author
Owner

@prom00 commented on GitHub (Nov 30, 2023):

So basically we are using an open source project where people are encouraged to pay for good security?

<!-- gh-comment-id:1833452110 --> @prom00 commented on GitHub (Nov 30, 2023): So basically we are using an open source project where people are encouraged to pay for good security?
Author
Owner

@liyasthomas commented on GitHub (Nov 30, 2023):

Hoppscotch enterprise edition is built on top of the open-core community edition for those who want additional features like SAML-based Single-Sign-On, identity and access management, audit logs, dedicated support, etc.

All work product on the community edition is provided "AS IS". This includes unlimited collections, unlimited teams, and collaborators, an admin dashboard, community support, etc.

Since access control mechanisms are already available in the enterprise edition and are not planned for the community edition, I'm closing this ticket.

<!-- gh-comment-id:1833493336 --> @liyasthomas commented on GitHub (Nov 30, 2023): Hoppscotch enterprise edition is built on top of the open-core community edition for those who want additional features like SAML-based Single-Sign-On, identity and access management, audit logs, dedicated support, etc. All work product on the community edition is provided "AS IS". This includes unlimited collections, unlimited teams, and collaborators, an admin dashboard, community support, etc. Since access control mechanisms are already available in the enterprise edition and are not planned for the community edition, I'm closing this ticket.
Author
Owner

@bigghe commented on GitHub (Sep 12, 2024):

Hello @liyasthomas
I don't know if you are the correct person to ask about, but one thing.

I see that the issue #3447 is open asking more or less the same thing, a way to authenticate as users in the selfhosted version of Hoppscotch.
But then in a latest issue, #4232, I see a possible bug in authenticate to the selfhosted version through Microsoft.

Then it's not really clear to me, is the authentication (also a basic one, just username/password), possible or not in the selfhosted version of the app?

Thanks!

<!-- gh-comment-id:2345875612 --> @bigghe commented on GitHub (Sep 12, 2024): Hello @liyasthomas I don't know if you are the correct person to ask about, but one thing. I see that the issue #3447 is open asking more or less the same thing, a way to authenticate as users in the selfhosted version of Hoppscotch. But then in a latest issue, #4232, I see a possible bug in authenticate to the selfhosted version through Microsoft. Then it's not really clear to me, is the authentication (also a basic one, just username/password), possible or not in the selfhosted version of the app? Thanks!
Author
Owner

@liyasthomas commented on GitHub (Sep 12, 2024):

Hi @bigghe,
As of now, Hoppscotch doesn't have a username + password authentication mechanism. Both Hoppscotch Cloud and Hoppscotch Self-Hosted Editions prefer OAuth Authentication over Basic Authentication, along with Passwordless Authentication using email links.

<!-- gh-comment-id:2346050526 --> @liyasthomas commented on GitHub (Sep 12, 2024): Hi @bigghe, As of now, Hoppscotch doesn't have a username + password authentication mechanism. Both Hoppscotch Cloud and Hoppscotch Self-Hosted Editions prefer OAuth Authentication over Basic Authentication, along with Passwordless Authentication using email links.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1173
No description provided.