How to Install Indieauth on Windows 11
Indieauth is a tool that allows individuals to use their own domain name to log in to various services across the internet. In this tutorial, we will go through the steps of installing Indieauth on Windows 11.
Prerequisites
Before we get started, make sure you have the following:
- A Windows 11 computer
- A domain name
- Apache web server installed
- PHP installed
Installation Steps
- Download the Indieauth files from the official website or clone the Github repository:
$ git clone https://github.com/aaronpk/IndieAuth.git
Move the Indieauth files to your Apache web server directory. For example, if you have installed Apache in the default directory, you can move the files to
C:\Apache24\htdocs\indieauth.Open the
config.phpfile located in the Indieauth directory and modify the following lines:
$config = array(
'domain' => 'yourdomain.com', // Change to your domain name
'client_id' => 'https://yourdomain.com', // Change to your domain name
'redirect_uri' => 'https://yourdomain.com/indieauth/callback.php', // Change to your domain name and Indieauth directory path
);
Save the changes to
config.php.Open your Apache server configuration file (
httpd.conf) and add the following lines at the end:
Alias /indieauth "C:/Apache24/htdocs/indieauth"
<Directory "C:/Apache24/htdocs/indieauth">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
Save the changes to
httpd.conf.Restart Apache to apply the changes.
Verify that Indieauth is working by going to
https://yourdomain.com/indieauthin your web browser. You should see the Indieauth login screen.To use Indieauth to log in to other services, you will need to add your domain name as an authorization endpoint. For example, if you want to use Indieauth to log in to a Wordpress site, go to the Wordpress dashboard, navigate to Settings > IndieAuth, and enter
https://yourdomain.com/indieauth/authas the authorization endpoint.
That's it! You have successfully installed Indieauth on Windows 11 and can now use it to log in to various services online.