How to run internet identity locally without docker?

Mmmh hard to tell what is not correct in your app without being able to deploy it unfortunately.

Not later than this morning I answered the same question (How to get the Internet Identity ID dynamically? - #11 by peterparker) and such an url worked out.