Skip to content

smutt/HOBA-server

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

HOBA-server

Experiments with server side development of HTTP Origin Based Authentication (RFC 7486)

Licensed under GPLv3

This has been developed/tested with Apache2.4 on OpenBSD and FreeBSD

Some Apache2.4 config that might help you get started

The directory foo/hoba-ssl/.well-known/hoba contains symbolic links to the actual PHP scripts in foo/hoba-ssl/

<Directory foo/hoba-ssl>
  Options FollowSymlinks
  AllowOverride all
  Order allow,deny
  Allow from all
  SetHandler php7-script 

  # Allow Authorization header to be modified
  RewriteEngine On
  RewriteCond %{HTTP:Authorization} ^(.*)
  RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
</Directory>

<Directory foo/hoba-ssl/.well-known/hoba>
  Options FollowSymLinks
  SetHandler php7-script 
</Directory>

Test Website

There is a test website up and running to play with this @ https://hoba.name/

About

Experiments with implementing the server side of HTTP Origin Based Authentication RFC7486

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages