An IndieAuth endpoint that will report whatever identity URL you want
This is intended for testing the correctness of an IndieAuth client, particularly in handling differing profile URLs.
It should not be used for actually logging into websites beyond testing their conformance.
This is a very simple Flask application; please see the Flask deployment guide for more information.
When prompted to sign in to an IndieAuth client, provide an identity URL that starts with your AnyAuth endpoint; for example if you're running at https://anyauth.example.com/
you can use an identity URL such as https://anyauth.example.com/test_user
or the like.
Then when you are prompted for login confirmation, provide whatever "canonical" identity URL you want. If the client implements differing profile URLs correctly, it should accept the canonical URL if and only if it matches that portion of the IndieAuth spec (linked above).
The only logins which succeed should be where the initial profile URL matches the returned me
URL; for example, https://anyauth.example.com/foo
should not be able to validate as https://anyauth.example.com/bar
.
Older versions of the IndieAuth spec allowed any logins with a matching domain succeed (e.g. https://anyauth.example.com/foo
→ http://anyauth.example.com/bar
) but that is no longer valid, as of August 11, 2020.