최근 검색


최근 검색 없음

Ani's Avatar

Ani

가입한 날짜: 2024년 4월 18일

·

마지막 활동: 2024년 4월 18일

팔로잉

0

팔로워

0

총 활동 수

2

투표 수

0

가입 플랜

1

활동 개요

님의 최근 활동 Ani

Ani님이 에 댓글을 입력함

댓글Single sign-on

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

댓글