[GH-ISSUE #3527] Unable to get hold of the Generated Token during the Authorization with OAUTH2 and Keycloak #1199

Open
opened 2026-03-16 19:08:54 +03:00 by kerem · 0 comments
Owner

Originally created by @Aravinda93 on GitHub (Nov 9, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3527

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

I am trying to generate the token using the authorization in Hoppscoth. During the authorization, I redirect the user to my Keycloak auth URL where they can provide a username & password, after the successful login I want to obtain the token provided by Keycloak and use it for subsequent requests.

I am able to log in but after login when I am redirected to Hopscotch I am unable to get the Token rather the page just reloads, not sure what's happening. But if I use similar authorization in Postman then everything works fine. Can you please let me know how can I get hold of the token and use it in my request?

Steps to reproduce

Following is my Authorization tab from Hoppscotsch where I am trying to redirect the user to Keycloak page and making them to login:

Screenshot 2023-11-09 at 16 48 20

After the successful login, I just returned back to the Hoppscotch page and did not get the token or anything:

Please let me know if I am doing anything wrong or do I need to do aynthing extra to access the token and make the request.

Note:

  1. I have already installed the google chrome extension.
  2. I also tried with proxy setting from settings.

Environment

Production

Version

Hoppscotch website

Originally created by @Aravinda93 on GitHub (Nov 9, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3527 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior I am trying to generate the token using the authorization in Hoppscoth. During the authorization, I redirect the user to my Keycloak auth URL where they can provide a username & password, after the successful login I want to obtain the token provided by Keycloak and use it for subsequent requests. I am able to log in but after login when I am redirected to Hopscotch I am unable to get the Token rather the page just reloads, not sure what's happening. But if I use similar authorization in Postman then everything works fine. Can you please let me know how can I get hold of the token and use it in my request? ### Steps to reproduce Following is my Authorization tab from Hoppscotsch where I am trying to redirect the user to Keycloak page and making them to login: <img width="803" alt="Screenshot 2023-11-09 at 16 48 20" src="https://github.com/hoppscotch/hoppscotch/assets/29374160/f1cd07dc-a046-4bc0-8837-160e8f0c1881"> After the successful login, I just returned back to the Hoppscotch page and did not get the token or anything: Please let me know if I am doing anything wrong or do I need to do aynthing extra to access the token and make the request. Note: 1. I have already installed the google chrome extension. 2. I also tried with proxy setting from settings. ### Environment Production ### Version Hoppscotch website
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#1199
No description provided.