Skip to content

daniloercoli/wordpress-sso-design-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

WordPress SSO Integration – Solution Design Document

This repository contains the Solution Design Document (SDD) for integrating a custom Single Sign-On (SSO) platform with WordPress.
The SDD explains in detail how WordPress authentication is off-loaded to the organisation’s SSO, how user data is exchanged and synced, and how errors are handled. No plugin or code is included here—only the design.


Quick links

File Description
WordPress SSO Integration SDD.pdf PDF of the Solution Design Document (version 1.0, updated 27 Sep 2024)

Executive summary

  • Purpose – Provide a seamless, centralised login for WordPress by redirecting all authentication to the client’s SSO and synchronising user accounts on-the-fly.
  • Core flow – Intercept WordPress login → redirect to SSO → return with JWT → validate & exchange for full profile via REST → create/update WP user → start session.
  • Environments – Staging and Production each have their own endpoints, JWT secret and API key.
  • Future ideas – Background profile sync and single-logout (SSO → WP).

See the SDD for the complete context diagram, error-handling matrix, role-mapping table and more.


License

The design is shared under the MIT License. See LICENSE for details.


Need help turning this design into a working plugin later on?
Open an issue or discussion thread—contributions are welcome!

About

A Solution Design Document (SSD) for integrating a custom Single Sign-On (SSO) platform with WordPress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published