Comments (5)
I found in the code where the error was coming from and put a print_r($_SESSION)
in the conditional, that triggers the error and it appears that no session data is being returned. I get an empty array output.
Array ( )
from aad-sso-wordpress.
Ok, so ended up figuring the issue out. Turns out the session path for the php instance on this cpanel server was invalid. Once I set a valid path, it fixed the issue.
from aad-sso-wordpress.
Thanks for reporting, and thanks for following up with the issue on your side and how you solved it. Indeed, this issue is always something to do with sessions, but the root cause is rarely the same, and is usually dependent on the infrastructure WordPress is installed on.
I'll use the information you shared to improve the troubleshooting options available, and try to see if there isn't a better way to achieve the same capability without relying on PHP sessions.
from aad-sso-wordpress.
from aad-sso-wordpress.
Yeah, I was thinking of testing PHP sessions at config time (show warnings and allow saving but not enabling) and at runtime (show useful error instead of redirecting to a sign-in which is guaranteed to fail).
from aad-sso-wordpress.
Related Issues (20)
- Error when signing in - "Session does not contain antiforgery ID." #200 HOT 8
- User token? HOT 2
- Wrong redirect URL HOT 4
- One user unable to auth to WordPress HOT 1
- Is this repository active? HOT 2
- Support for OAuth2 Authorization Code Flow HOT 3
- Implement support for PKCE
- Retirement of basic authentication HOT 2
- Session does not contain antiforgery ID HOT 1
- PHP 8.1: PHP Deprecated: Implicit conversion from float 9615.9 to int loses precision HOT 2
- Slowing down site HOT 3
- I get Session does not contain antiforgery ID when logging in HOT 2
- No request found for this application. HOT 1
- You do not have permission to view this directory or page. HOT 8
- Too many redirect URL error HOT 2
- How to refresh Access Token? HOT 1
- Fetching Azure Userdata HOT 3
- Deprecation notice in PHP 8.1/8.2 HOT 7
- Fixes in README
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aad-sso-wordpress.