Recent searches


No recent searches

Anton Korotkov's Avatar

Anton Korotkov

Joined Dec 09, 2022

·

Last activity Apr 05, 2024

Following

0

Followers

0

Total activity

3

Votes

0

Subscription

1

ACTIVITY OVERVIEW

Latest activity by Anton Korotkov

Anton Korotkov commented,

CommentSingle sign-on

Hey Zendesk team!

We are migrating from GET to POST as all here. I was able to make this work even by sending it via the following form:
 

 

Meaning, the JWT token is being sent not as a separate field but as an Action URL.

Is it something that will stop working after May 1?

Thanks for the answer!

View comment · Edited Apr 05, 2024 · Anton Korotkov

0

Followers

0

Votes

0

Comments


Anton Korotkov commented,

CommentSingle sign-on

Hello Zendesk Support!

I have an issue on your side that prevents me from implementing SSO on React app with HashRouter.

I have URL like this: `https://localhost:3000/#/sso/zendesk` for both SSO Login and SSO Logout.

Everything works fine until an error appears. Let's say JWT is wrong. In this case Zendesk redirects me to the SSO Logout URL. Here the thing - when it does it, for some reason it URLEncodes my hash route and redirects the user to something like:

`https://localhost:3000/?kind=error&message=JWT+signature+invalid.+The+signature+cannot+be+verified%2C+check+that+your+tokens+match%23%2Fsso%2Fzendesk`

So no more hash route in the URL so the app does not recognize the route. This is only happening when kind=error.

Seems like a bug? Any thoughts? 

View comment · Posted Dec 09, 2022 · Anton Korotkov

0

Followers

0

Votes

0

Comments