beaulebens / keyring

Keyring is an authentication framework for WordPress. It comes with definitions for a variety of HTTP Basic, OAuth1 and OAuth2 web services. Use it as a common foundation for working with other web services from within WordPress code.
http://dentedreality.com.au/projects/wp-keyring/
81 stars 49 forks source link

Handshake.org domains (TLDs & SLDs) sign into WP sites with Keyring? #107

Open ecosysmaat opened 1 year ago

ecosysmaat commented 1 year ago

Hi,

I use Handshake.org domains (decentralised Top Level Domains (TLDs)). We are issuing SLD derivatives of these TLDs to our subscriber members. We would like our members to be able to login to our WP site using their SLDs.

Handshake via Namebase.io have develop this Handshake Login Protocol https://github.com/namebasehq/handshake-id-manager. We'd like to use this combined with your Keyring to allow our members to login to our WP site on the basis that they own an approved SLD.

What is required to make this work?

image

beaulebens commented 1 year ago

This library really just handles abstracting/standardizing the authentication part of things at a code level, so as long as this auth model works roughly similar to something like OAuth, you should be able to build a custom "Service" that implements it, and then use Keyring to help handle that when you build out whatever UI you need to support it.

There is some documentation available that includes some guidance on writing custom Services here; https://dentedreality.com.au/projects/wp-keyring/