Skip to main content
Question

OAuth2 Redirect URI with location hash (#)

  • May 22, 2025
  • 3 replies
  • 2 views

Forum|alt.badge.img

Hi!

My redirect_uri contains a location hash (#)
e.g http://localhost:4200/#/login

After the authentication and redirecting,
The OAuth params break the URL like this:
http://localhost:4200/?code=xxxx&state=xxxx#/login

Is there anything solution to fix, so that the URL will look like this  after redirection http://localhost:4200/#/login?code=xxxx&state=xxxx 

Thanks.

3 replies

Forum|alt.badge.img

Hey Harini, 

I checked with our engineering team and they let me know this looks like a bug on our end. Thanks for bringing this to our attention! I will be opening a ticket with them to ensure this can get prioritized to fix as soon as possible.

Best,

Kourtney


Forum|alt.badge.img

Hello Kourtney,

Thanks for the update
I would like to know where can I track this ticket

Thanks,
Harini


Forum|alt.badge.img

Hello Harini, 

There unfortunately isn't a way for you to follow this bug externally. I will watch the ticket and post back here when I see a status change! 

Best,

Kourtney, Box Developer Advocate