Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

kbitra1998
Community profile kbitra1998 Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 28-11-2020 7:23:10 PM
Offline
Top badges earned by kbitra1998
Customize the badges you want to showcase on your profile
Re: How to get CRSF Token value in AEM Publisher
Avatar
Level 1
kbitra1998
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
kbitra1998
- Adobe Experience Manager
Thanks @asutosh_jena ,The issue got resolved. From the dispatcher filter, we are rejecting the servlet path so we are getting 301 status code and redirects to 404 pages.

Views

107

Likes

0

Replies

0
Re: How to get CRSF Token value in AEM Publisher
Avatar
Level 1
kbitra1998
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
kbitra1998
- Adobe Experience Manager
Hi @asutosh_jena , The use case is to submit the POST request details to the API. In order to send securely, we have created a servlet '/bin/project_name/project_path' CSRF Token in the author instance will be passed while making any servlet call as you will be logged in. I logged into Publish Instance with admin credentials and I successfully call the servlet and also get the CSRF token. However, using the domain, we do not authenticate the users, so we are making anonymous calls to the servlet...

Views

156

Likes

0

Replies

0
Re: How to get CRSF Token value in AEM Publisher
Avatar
Level 1
kbitra1998
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
kbitra1998
- Adobe Experience Manager
Thanks @asutosh_jena ,Is there a way to get csrf token value for anonymous users on publish instance? Like Whitelist the origin or site without authentication.

Views

180

Likes

0

Replies

0
How to get CRSF Token value in AEM Publisher
Avatar
Level 1
kbitra1998
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
kbitra1998
- Adobe Experience Manager
Hi,we are calling an API using servlet, Our AEM Instance in 6.5.5, we are successfully able to call the servlet and send the CRSF Token in the author instance. However, In the Publisher instance, we are getting an empty response from the /libs/granite/csrf/token.json, how can we validate or authenticate the POST request to get the CRSF token value in AEM Publisher.

Views

205

Likes

0

Replies

8