maartenba / orchard-authentication-federated

Federated authentication for Orchard. This module enables SAML 2.0 authentication in Orchard, for example Windows Azure AppFabric Access Control Service.
Apache License 2.0
1 stars 1 forks source link

Antiforgery token error #1

Open FunctionallyLiterate opened 11 years ago

FunctionallyLiterate commented 11 years ago

Hello,

I'm trying to get this module set up using ADFS on Orchard 1.7, but I keep running into an issue. Any time the Authenticate action is called in the Controller it throws an Antiforgery Token error because the Orchard antiforgery token wasn't passed in. There's no way to generate the ORchard token since the HTTP Post is coming from the ADFS server, not an Orchard view. Is there a way around this?

maartenba commented 11 years ago

Is there a way to disable Orchard's antiforgery token checks on a specific call?

FunctionallyLiterate commented 11 years ago

Unfortunately no. The only way is to disable it for the entire module, which you've done. The setting for it in the module.txt file doesn't seem to be working correctly.

Maybe it's just something I didn't configure correctly in the settings.

maartenba commented 11 years ago

Do you have a stack trace for the error? As well as the URL where it occurs?