IndieAuth-redirect-handling

From IndieWeb


This is an attempt to document profile redirects to be sure IndieAuth.com is handling them properly.

me=http://petermolnar.eu/

http://petermolnar.eu/ -301-> https://petermolnar.eu/
https://petermolnar.eu/ -links-to-> https://github.com/petermolnar
https://github.com/petermolnar -links-to-> https://petermolnar.eu/

In this case, Peter entered "http://petermolnar.eu/" in the sign-in form.

When checking whether Github links back to his site, we encounter the situation where his Github profile links to the https profile which is not the thing entered in the sign-in form.

To support this case, the server should look for any of the URLs in the initial redirect chain when checking whether Github links back.


me=https://petermolnar.eu/

https://petermolnar.eu/ -links-to-> https://github.com/petermolnar
https://github.com/petermolnar -links-to-> https://petermolnar.eu/

me=http://dreev.es/

http://dreev.es/ -301-> http://ai.eecs.umich.edu/people/dreeves/
http://ai.eecs.umich.edu/people/dreeves/ -links-to-> https://github.com/dreeves
https://github.com/dreeves -links-to-> http://dreev.es/