This repository was archived by the owner on Dec 4, 2018. It is now read-only.

Description
When using the library on my local machine with IPV6 the check for localhost in EpiOAuth isn't triggered because $_SERVER['SERVER_ADDR'] is '::1'
I changed line 171 in EpiOAuth from:
if(isset($_SERVER ['SERVER_ADDR']) && !empty($_SERVER['SERVER_ADDR']) && $_SERVER['SERVER_ADDR'] != '127.0.0.1')
to:
if(isset($_SERVER ['SERVER_ADDR']) && !empty($_SERVER['SERVER_ADDR']) && $_SERVER['SERVER_ADDR'] != '127.0.0.1' && $_SERVER['SERVER_ADDR'] != '::1')
This may be useful to other developers working on their local machine and getting this exception.