Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with AEM 6.1 - CSRF token not present #10

Open
kunalgaba opened this issue Jul 8, 2015 · 6 comments
Open

Issue with AEM 6.1 - CSRF token not present #10

kunalgaba opened this issue Jul 8, 2015 · 6 comments

Comments

@kunalgaba
Copy link

AEM 6.1 does not allow POST requests if CSRF token is not present in the request. Because of this we can't use recap to save new addresses.

@adolfodepazvela
Copy link
Contributor

I added granite.csrf.standalone dependency in /libs/recap/clientlibs/recap and it does the job!

@miguelalvarado
Copy link

Any progress on this? This issue is currently preventing me from using this on 6.1 projects

@miguelalvarado
Copy link

@adolfodepazvela can you create a branch and a pull request with the fix please?

@adolfodepazvela
Copy link
Contributor

absolutly

On Monday, November 23, 2015, miguel notifications@github.com wrote:

@adolfodepazvela https://github.com/adolfodepazvela can you create a
branch and a pull request with the fix please?


Reply to this email directly or view it on GitHub
#10 (comment)
.

@laniela
Copy link

laniela commented Dec 17, 2015

You were right Adolfo, adding the granite.csrf.standalone dependency to the /libs/recap/clientlibs/recap node in crx/de work like a charm for me to.

Thanks

-Alain

@yogesh-kulkarni
Copy link

yogesh-kulkarni commented Sep 16, 2016

still not able to use it on AEM 6.1. I see call being made for /libs/granite/csrf/token.json.
Getting this error after submit;
net.adamcin.recap.api.RecapSessionException: RepositoryException while preparing path: /content/audiusa/en/myaudi
at net.adamcin.recap.impl.RecapSessionImpl.sync(RecapSessionImpl.java:251)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants