[GH-ISSUE #3602] [feature]: custom redirect_uri in oauth2 authorization #1245

Open
opened 2026-03-16 19:28:22 +03:00 by kerem · 9 comments
Owner

Originally created by @fmeriaux on GitHub (Nov 28, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3602

Originally assigned to: @CuriousCorrelation on GitHub.

Is there an existing issue for this?

  • I have searched the existing issues

Summary

I'd like to have a "redirect_uri" field in hoppscotch desktop's oauth2 options.

Why should this be worked on?

I'm trying to generate an OIDC token using Oauth2 authorization (PKCE) nevertheless my authorization server checks that the redirect url is whitelisted.

I'd like to be able to customize it as I can on insomnia for example.

Originally created by @fmeriaux on GitHub (Nov 28, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3602 Originally assigned to: @CuriousCorrelation on GitHub. ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary I'd like to have a "redirect_uri" field in hoppscotch desktop's oauth2 options. ### Why should this be worked on? I'm trying to generate an OIDC token using Oauth2 authorization (PKCE) nevertheless my authorization server checks that the redirect url is whitelisted. I'd like to be able to customize it as I can on insomnia for example.
Author
Owner

@tfedor commented on GitHub (Aug 13, 2024):

I'd like to bump this, I have the same issue where my server checks for redirect_uri.

<!-- gh-comment-id:2286865437 --> @tfedor commented on GitHub (Aug 13, 2024): I'd like to bump this, I have the same issue where my server checks for redirect_uri.
Author
Owner

@nevermind10844 commented on GitHub (Sep 26, 2024):

How is this still not a thing in Hoppscotch?

<!-- gh-comment-id:2376891441 --> @nevermind10844 commented on GitHub (Sep 26, 2024): How is this still not a thing in Hoppscotch?
Author
Owner

@pierpaolo1 commented on GitHub (Oct 4, 2024):

I tried setting an environment variable for redirect_uri, I also tried adding a query parameter to the auth URL, but no matter what I do in the request, the redirect_uri parameter is set to https://hoppscotch.io/oauth. The issue is blocking and prevents me from using Hoppscotch. There is no way to override the default redirect_uri?

<!-- gh-comment-id:2393130167 --> @pierpaolo1 commented on GitHub (Oct 4, 2024): I tried setting an environment variable for redirect_uri, I also tried adding a query parameter to the auth URL, but no matter what I do in the request, the redirect_uri parameter is set to https://hoppscotch.io/oauth. The issue is blocking and prevents me from using Hoppscotch. There is no way to override the default redirect_uri?
Author
Owner

@allen-liaoo commented on GitHub (Oct 12, 2024):

Please add this!

<!-- gh-comment-id:2408595578 --> @allen-liaoo commented on GitHub (Oct 12, 2024): Please add this!
Author
Owner

@hana-declerck commented on GitHub (Jan 29, 2025):

is this still not supported?

<!-- gh-comment-id:2622773580 --> @hana-declerck commented on GitHub (Jan 29, 2025): is this still not supported?
Author
Owner

@lchansf commented on GitHub (Jul 24, 2025):

This is a blocking issue for the self-hosted Hoppscotch Desktop client. In the Desktop client, the redirect_uri is internally set to "app://your_domain_in_snake_case/oauth". This won't work if the OAuth provider only allows registering valid http url.

<!-- gh-comment-id:3114393145 --> @lchansf commented on GitHub (Jul 24, 2025): This is a blocking issue for the self-hosted Hoppscotch Desktop client. In the Desktop client, the redirect_uri is internally set to "app://your_domain_in_snake_case/oauth". This won't work if the OAuth provider only allows registering valid http url.
Author
Owner

@t3rr11 commented on GitHub (Aug 15, 2025):

I've also hit the same issue, where my OAuth Provider only allows http://localhost* or any https://* redirect uri and will not allow me to use the provided http://app.hoppscotch/oauth, which I cannot configure/change.

https://learn.microsoft.com/en-us/entra/identity-platform/reply-url#supported-schemes

Being able to change it to something like http://localhost:5555 (or any other dedicated port for hoppscotch) would mean I can specify this and it would meet the requirements.

<!-- gh-comment-id:3190388789 --> @t3rr11 commented on GitHub (Aug 15, 2025): I've also hit the same issue, where my OAuth Provider only allows http://localhost* or any https://* redirect uri and will not allow me to use the provided http://app.hoppscotch/oauth, which I cannot configure/change. https://learn.microsoft.com/en-us/entra/identity-platform/reply-url#supported-schemes Being able to change it to something like http://localhost:5555 (or any other dedicated port for hoppscotch) would mean I can specify this and it would meet the requirements.
Author
Owner

@bretesq commented on GitHub (Oct 24, 2025):

Bump on this. Using Microsoft it requires us to use https:// for redirect_uri.

<!-- gh-comment-id:3443154871 --> @bretesq commented on GitHub (Oct 24, 2025): Bump on this. Using Microsoft it requires us to use https:// for redirect_uri.
Author
Owner

@wapmorgan commented on GitHub (Jan 20, 2026):

+1.
Postman is not interested in the redirect URL at all, since no redirection actually occurs.

<!-- gh-comment-id:3771922137 --> @wapmorgan commented on GitHub (Jan 20, 2026): +1. Postman is not interested in the redirect URL at all, since no redirection actually occurs.
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#1245
No description provided.