xGov 178: SIWA - Sign In With Algorand

xGov 178 is a proposal to build SIWA - Sign In With Algorand. For Web3 builders who work with Next.JS it is essential that we have a standardized security protocol. For Web3 builders who work with EVM or who plan on building multi-chain applications, it is essential that Algorand have a security protocol that is on-par/tightly integrated with EIP-4361, the best-practices security protocol and library that is the basis of SIWE - Sign In With Ethereum.

Rationale:

I’m building a cloud hosting provider for Web3 called Xspace. We currently support account login with Github, Google, and Optimism via SIWE. Xspace is a Next.js application and we use next-auth (now auth.js) for secure login. I want to add support for login with Algorand as well. But security is a top priority and I want to make sure that the Algorand login protocol adheres as closely as possible to EIP-4361. Instead of just building this for Xspace, I want to build a standardized, best-practices security library for the ecosystem. SIWA - Sign In With Algorand) will integrate seamlessly with SIWE, next-auth, and other security providers.

I’ll be expanding more on the design and methodology in the next 1-2 days, but just wanted to get the basic outline for this out there. Expect this post to be updated quite a bit more. Next I’ll be sharing a technical overview of the approach I’ll be tackling. Check back for updates here!

3 Likes

Should this be the subject of an ARC first?

I can definately include the ARC spec as part of the proposal deliverables. I started working on this a few weeks ago already (I need SIWA ASAP for a few projects I’m working on). You can track my progress here - xballot/packages/siwa at main · headline-design/xballot · GitHub and here - xballot/apps/atlas/use-siwa at main · headline-design/xballot · GitHub. I’ll be moving the code to a SIWA-specific repo once I have a working prototype.

HI Aaron, your proposal is missing the ###Deliverable section of the template and does not meet the requirements to go live. There are messages pending review on github.

I replied on Github. I was requesting the specific line the change should be made too. I can provide the deliverable link now as I have the repo set up where the work is ongoing.

Update with link to the Github where work is being done - https://github.com/headline-design/siwa. Will make this public as soon as I have the demo ready (next few days)

Great, thanks. Waiting on @StephaneBarroso to merge the PR.

1 Like

Congrats on your proposal passing!

Hi @ussaaron congrats on your proposal passing! :slight_smile:

SIWA Deliverables (6/18/2024):

SIWA-NPM: @avmkit/siwa - npm
SIWA-Github: avmkit/packages/siwa at main · headline-design/avmkit · GitHub

CSR-Template-deployed: https://algostack.vercel.app
CSR-Template-Github: GitHub - headline-design/algostack

SSR-Template-deployed: https://algostack-ssr.vercel.app
SSR-Template-Github: GitHub - headline-design/algostack-ssr

SIWA-website-https://siwa.org
SIWA-docs: Help Center – SIWA

SIWA-template-marketplace: siwa-templates

1 Like

Thanks @ussaaron, our team has started reviewing your deliverables. They’ll get in touch with questions, should any arise.