最近搜索
没有最近搜索

Ani
已加入2024年4月18日
·
最后活动2024年4月18日
关注
0
关注者
0
活动总数
2
投票
0
订阅
1
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Ani
Ani 进行了评论,
Hello Team,
We are currently in the process of converting from GET to POST with the below endpoint
https://yoursubdomain.zendesk.com/access/jwt.
Due to our architectural constraints we cannot submit this from a form instead we are authenticating from an endpoint when the user tries to access a zendesk resource (Python).
we do get a 403 when I do an automatic redirect using the below code.
aiohttp.ClientSession().post(url, data=json.dumps(data), headers=headers, allow_redirects=True)
we get a 302 when the redirect is set to False
aiohttp.ClientSession().post(url, data=json.dumps(data), headers=headers, allow_redirects=False)
data looks like below -
{'jwt': ‘jwt_token_generated_here’}
Does the 302 mean the user is authenticated? I dont think so since we cannot access any zendesk resources.
When i try to access a helpdesk link it hits the remote login URL set up in the zendesk admin page. (This means I was not authenticated)
Can you please advise.
Ani
查看评论 · 已于 2024年4月18日 编辑 · Ani
0
关注者
0
投票
0
评论