Title: Single Sign On For TNG
Author: Colin Stearman
Published: <strong>🍂1️⃣0️⃣ 28, 2024</strong>
Last modified: 🌻8️⃣ 29, 2026

---

Search plugins

![](https://ps.w.org/single-sign-on-for-tng/assets/icon-128x128.png?rev=3177393)

# Single Sign On For TNG

 By [Colin Stearman](https://profiles.wordpress.org/britcoder/)

[Download](https://downloads.wordpress.org/plugin/single-sign-on-for-tng.2.2.0.zip)

 * [Details](https://emoji.wordpress.org/plugins/single-sign-on-for-tng/#description)
 * [Reviews](https://emoji.wordpress.org/plugins/single-sign-on-for-tng/#reviews)
 *  [Installation](https://emoji.wordpress.org/plugins/single-sign-on-for-tng/#installation)
 * [Development](https://emoji.wordpress.org/plugins/single-sign-on-for-tng/#developers)

 [Support](https://wordpress.org/support/plugin/single-sign-on-for-tng/)

## Description

Single Sign On For TNG improves the user experience when WordPress and the TNG Genealogy
Software are on the same or different servers.
 User accounts for both systems are
managed through the WordPress user registration system. This includes account creation,
deletion and password change. Logging in and out of the users WordPress account 
automatically logs in and out of their account in TNG. This plugin makes no attempt
to visually incorporate TNG into the WordPress theme. But TNG’s template feature
allows the developer to design a visual for TNG which is consistent with that of
the WordPress Site.

## Screenshots

[⌊Basic setup screen prior to entering data.⌉⌊Basic setup screen prior to entering
data.⌉[

Basic setup screen prior to entering data.

[⌊Setup screen for the option Forminator integration.⌉⌊Setup screen for the option
Forminator integration.⌉[

Setup screen for the option Forminator integration.

## Installation

Install and activate the plug-in in the normal manner. Then go to Settings, Single
Sign On For TNG and configure the settings. See the HELP section on that page for
additional information.

## FAQ

### Is this plug-in easy to set up?

Yes. See the screenshots. The full path and url to your TNG site is required plus
a one-time key generation.

### How does this plugin process WordPress registrations?

When a person applies for an account (ie: registers) at the WordPress site an entry
for the person is added in both WordPress and TNG, awaiting separate approval. Approving
the WordPress registration does NOT approve the TNG one. That must be done separately
in TNG’s administrator panel, so that you can decide whether or not to give them
TNG access, and if so, at what level, branch, etc. You may want to use one of the
many plugins that allow additional questions in the WordPress registration form 
so that you can decide how to proceed with registration in WordPress and TNG based
on the answers.

### How does this plugin deal with existing WordPress users that are not in TNG?

An optional setting allows for the automatic addition of a WordPress user to the
TNG account system, based on their role. This occurs transparently when they log
in to the WordPress site. Multiple matching roles can be defined. The user’s TNG
account is automatically given active Guest privileges. The Admin is sent an email
alerting that this has happened so that the TNG privilege level can be adjusted 
if needed.

### I have users in TNG whose account in WordPress has a different password. How should I proceed?

No action is required. The plugin will synchronize the password in TNG with that
in WordPress automatically when the user logs in. This assumes that the user name
in WordPress and TNG are the same. If not another user will be added to TNG with
the right user name. It is up to the administrator to deal with any residual user
accounts in TNG that are now obsolete in this eventuality.

### Does this plug-in visually integrate with my WordPress site?

No, that is not its intent. It provides functionality to automatically log in to
and out of the TNG Family Tree site when the user logs in to or out of the WordPress
site. The template functionality within TNG allows you to give it an equivalent 
appearance.

### Does the automatic signon to TNG create a password security risk?

No. The password is stored in a browser cookie in encrypted form using OpenSSL. 
The key used for encryption/decryption is unique to each installation and not publicly
accessible.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Single Sign On For TNG” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Colin Stearman ](https://profiles.wordpress.org/britcoder/)
 *   [ martinkilkie ](https://profiles.wordpress.org/martinkilkie/)

[Translate “Single Sign On For TNG” into your language.](https://translate.wordpress.org/projects/wp-plugins/single-sign-on-for-tng)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/single-sign-on-for-tng/),
check out the [SVN repository](https://plugins.svn.wordpress.org/single-sign-on-for-tng/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/single-sign-on-for-tng/)
by [RSS](https://plugins.trac.wordpress.org/log/single-sign-on-for-tng/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.2.0

Fixed a continuing vulnerability not completely patched in V2.1.0 (Thanks to researcher
moonge for tracking this down.)
 Fixed an issue in the settings where the encryption
key was not being displayed after an entry error. Improved the password change form
to disallow submission on no provided password, or passwords given don’t match.

#### 2.1.0

This is an important update to correct a vulnerability reported as CVSS 3.1: 9.8(
Critical) – CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
 Other code changes to 
make the plugin pass WordPress’s Plugin Check

#### 2.0.0

Provides an alternate way to communicate with TNG that does not require direct TNG
database access. The TNG installation can be anywhere accessible over the Internet.

Improved Settings screen. Allowed for optional custom logout function from TNG. 
Improved plugin data cleanup on deletion of the plugin. Provided support for optional
Forminator forms to implement Registration, Log In, Profile Management and Lost 
Password Recovery.

#### 1.1.3

Made deactivating the plugin clean up the TNG .htaccess file.
 Repaired a bug related
to redirecting login, logout and registration operations from TNG to WordPress. 
Other cosmetic improvement.

#### 1.1.2

Made relative paths to the TNG installation always treated as relative, rather than
converting them to absolute. This deals with an issue with unusual directory installation
structures.

#### 1.1.0

Added an optional feature to add existing WordPress user accounts to TNG on log 
in, based on a role match.

#### 1.0.1

 * Added tags and fixed a typo in readme.txt.

#### 1.0.0

 * Initial Release.

## Meta

 *  Version **2.2.0**
 *  Last updated **3 months ago**
 *  Active installations **20+**
 *  WordPress version ** 6.6.1 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/single-sign-on-for-tng/)
 * Tags
 * [family tree](https://emoji.wordpress.org/plugins/tags/family-tree/)[genealogy](https://emoji.wordpress.org/plugins/tags/genealogy/)
   [Single Sign-on](https://emoji.wordpress.org/plugins/tags/single-sign-on/)[the next generation](https://emoji.wordpress.org/plugins/tags/the-next-generation/)
   [tng](https://emoji.wordpress.org/plugins/tags/tng/)
 *  [Advanced View](https://emoji.wordpress.org/plugins/single-sign-on-for-tng/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/single-sign-on-for-tng/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/single-sign-on-for-tng/reviews/)

## Contributors

 *   [ Colin Stearman ](https://profiles.wordpress.org/britcoder/)
 *   [ martinkilkie ](https://profiles.wordpress.org/martinkilkie/)

## Support

Issues resolved in last two months:

     1 out of 1

 [View support forum](https://wordpress.org/support/plugin/single-sign-on-for-tng/)