UMich OIDC Login

UMich OIDC Login Install Statistics

-11
0%
Today: 0 Yesterday: 11 All-time: 1,422 downloads
UMich OIDC Login Icon

Try plugin: UMich OIDC Login

We'll create fresh WordPress site with UMich OIDC Login installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About UMich OIDC Login

Restrict access to the whole site or only certain parts based on OpenID Connect (OIDC) login and group membership information.

0


0


0


0


0

updated: 1 year ago
since: 2 years ago

Description

This plugin is for a very specific use case: Your WordPress website is part of an organization that uses OpenID Connect (OIDC) for web single-sign-on as well as for group-based authorization. In that case, this plugin will let you restrict access to parts of your WordPress website based on OIDC login and group membership information.

This plugin has been tested with:

  • Shibboleth OIDC using the edumember_ismemberof attribute for LDAP group membership.

Features:

  • Allow site visitors to log in via OIDC without needing a WordPress user account.
  • Optionally allow WordPress users to log in via OIDC instead of using their WordPress password.
  • Optionally restrict access to the entire site to logged-in users or only members of specific groups.
  • Optionally restrict access to specific pages and posts to logged-in users or only members of specific groups.
  • Show parts of pages/posts/widgets only to logged-in users or members of specific groups.
  • Access restrictions apply to site visitors, feeds, the REST API, and XMLRPC.
  • Shortcodes (Gutenberg blocks planned for a future release)
    • umich_oidc_button – Generate a login or logout button.
    • umich_oidc_link – Generate a login or logout link.
    • umich_oidc_logged_in – Show content only if the visitor is logged in.
    • umich_oidc_member – Show content only if the visitor is a member of one or more groups.
    • umich_oidc_not_logged_in – Show content only if the visitor is NOT logged in.
    • umich_oidc_not_member – Show content only if the visitor NOT a member of the specified groups.
    • umich_oidc_url – Generate a login or logout URL.
    • umich_oidc_userinfo – Display information about the currently-logged-in OIDC user.

Restricting private content in search results

You can prevent content from showing up in web search engine results by restricting access to particular pages/posts.

Search results from WordPress’ built-in search will only show content that the searching user has access to.

WARNING: WordPress search plugins may show content that the user does not have access to, leaking private information. Please test search plugins before enabling them. If a search plugin provides an appropriate WordPress hook for limiting search results, contact us, and we may be able to add support for it to UMich OIDC Login.

Copyright and license information

Copyright (c) 2022 Regents of the University of Michigan.

This file is part of the UMich OIDC Login WordPress plugin.

UMich OIDC Login is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

UMich OIDC Login is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with UMich OIDC Login. If not, see https://www.gnu.org/licenses/.