OAuth in a static Space

Checkout the index.html file to see the few lines of code enabling this space

After clicking "Signin with HF", you will be redirected to this space and the access token + user info will be displayed.