authentication(2/0)
Implement an oath2 authorization flow
TODO: finish this article Add disclaimer about my example: may not need private server, etc. Steps GET authorization route from service with redirect to current page open route in new window (snippet, link to article about enabling popups on iOS) gather code from redirected url on same page send code to origin window and close new window. (snippet) send code to my server’s token endpoint server requests token with code.…
Publish npm package to local repository
I wanted to share a set of authentication web components from chaos-auth so I could use them in my website’s static build. Keeping these components close to the authentication server lets me keep the responsibilities close, since these components will be heavily tied to my authentication implementation. Step 1: Publish Locally To publish a package you’ll simply need a name and version value in your package.json file. Here’s a paired-down example:…