Oauth Authorization URL "state" Parameter issue

Description
User Oauth Authorization process after the user login step we are not getting the “state” parameter full value (some part of value is mission in url ) which we pass as request part.

Error
In Some cases as mention below, “state” parameter value not getting full value.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Which Endpoint/s?
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

How To Reproduce (If applicable)

Case 1 : While User Oauth Authorization process if user entered wrong password multiple times and lastly time entered correct password and authorized successfully

Case 2 : While User Oauth Authorization process if user solved captcha two or more times and authorized successfully

Additional context
In Some cases it is working fine like if “state” param value contain only plane string value

1 Like

Hi @megeshd.vidyayug,

Thanks for reaching out. Can you please share the following so that I can help debug?

  • Redirect URL
  • Whitelist URL
  • What you’re passing for your state parameter
  • Screenshot/copy of URL that contains the partial state paremeter

Thanks!
Will

1 Like

Hi @will.zoom

Thanks for reply,
We have resolved the issue by sending the state parameter value in base64encode format.

Regards
Megesh

1 Like

Hi @megeshd.vidyayug,

I’m glad you were able to resolve the issue, and thanks for sharing your solution. :100:

Best,
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.