Overview
The WordPress Session Check endpoint provides true server-to-server communication between SvelteKit and WordPress. This endpoint allows automatic authentication of users with active WordPress sessions without requiring cookies.This feature is part of the V6 auto-login implementation that replaced the previous cookie-based approach.
Use Cases
- Seamless Authentication: Automatically log users into SvelteKit when they’re already logged into WordPress
- Cross-Domain Login: Works across different domains without CORS issues
- Improved Security: Uses server-to-server communication with shared secrets instead of cookies