What Auth solution providers are people

What Auth solution providers are people using with workers and how easy/difficult are they to work with? Curious what other are using and what the experience has been like.
8 Replies
MBrimmer
MBrimmerOP16mo ago
I found this library https://github.com/Marplex/flarebase-auth written to decode firebase tokens in workers
GitHub
GitHub - Marplex/flarebase-auth: Firebase/Admin Auth Javascript Lib...
Firebase/Admin Auth Javascript Library for Cloudflare Workers - GitHub - Marplex/flarebase-auth: Firebase/Admin Auth Javascript Library for Cloudflare Workers
MBrimmer
MBrimmerOP16mo ago
PropelAuth Blog
Authentication for Cloudflare Workers
We are thrilled to announce the release of @propelauth/cloudflare-worker - a Javascript/Typescript library that makes it easy to add authentication and authorization to your Cloudflare Workers. With this, you can write code as simple as: export default { async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise { try
MBrimmer
MBrimmerOP16mo ago
Propelauth is B2B, but it's interesting that they made a package specifically for Cloudflare workers.
dave
dave16mo ago
We wrote our own auth provider using https://github.com/panva/oauth4webapi (So we aren't implementing crypto ourselves, just the business logic stuff.)
GitHub
GitHub - panva/oauth4webapi: OAuth 2 / OpenID Connect for JavaScrip...
OAuth 2 / OpenID Connect for JavaScript Runtimes. Contribute to panva/oauth4webapi development by creating an account on GitHub.
dave
dave16mo ago
we were able to add support easily for GitHub, Deel, Google, Apple, Slack, Microsoft, Amazon, and Yahoo.
MBrimmer
MBrimmerOP16mo ago
Interesting, how do you verify tokens in workers?
dave
dave16mo ago
GitHub
oauth4webapi/examples/oauth.ts at 170f44e2f7c7da60feb8a654871c56fc0...
OAuth 2 / OpenID Connect for JavaScript Runtimes. Contribute to panva/oauth4webapi development by creating an account on GitHub.
dave
dave16mo ago
GitHub
oauth4webapi/examples/code.ts at 170f44e2f7c7da60feb8a654871c56fc0a...
OAuth 2 / OpenID Connect for JavaScript Runtimes. Contribute to panva/oauth4webapi development by creating an account on GitHub.
Want results from more Discord servers?
Add your server