Is this expected that I keep receiving an extra character from OAuth Redirect Url like this with extra ‘#= ’ at the end of url that isnt part of state variable? i.e: https://local/square/auth.php?code=sandbox-sq0cgb-Br3tgXDyQW5NUbAt20EEtS1w&response_type=code&state=applocal.%3Alocal%3Aoauth_redirect_token_6563cd30d7c16#_=_
Even I redirect it, it always stays there.
Thank you for your help in advance.
The presence of extra characters, especially a trailing ‘#=’ at the end of the OAuth redirect URL, could indicate an issue with URL encoding or processing. What’s your application ID? Also is it effecting your application when calling ObtainToken?
No, it’s not affecting at all. I’m just curious why it happens
Okay, what’s your application ID?
This is the sandbox appId: sandbox-sq0idb-HXM6sl3nMvtwuKDUF7cA6w. Thank you
Alfred
April 27, 2025, 3:12pm
6
hi @Bryan-Square
I got this as well, there is a tail “#= ” at the end of redirect url, is there any way to remove it?
Is there some URL encoding thing going on with the redirect?