最近搜索


没有最近搜索

Anton Korotkov's Avatar

Anton Korotkov

已加入2022年12月09日

·

最后活动2024年4月05日

关注

0

关注者

0

活动总数

3

投票

0

订阅

1

活动概览

的最新活动 Anton Korotkov

Anton Korotkov 进行了评论,

评论Single 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!

查看评论 · 已于 2024年4月05日 编辑 · Anton Korotkov

0

关注者

0

投票

0

评论


Anton Korotkov 进行了评论,

评论Single 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? 

查看评论 · 已于 2022年12月09日 发布 · Anton Korotkov

0

关注者

0

投票

0

评论