# xGov 178: SIWA - Sign In With Algorand

**URL:** https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705
**Category:** xGov Proposals Pilot
**Tags:** xgov, voting-session-4
**Created:** [March 23, 2024, 5:10am UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705 "2024-03-23T05:10:30Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![ussaaron](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ussaaron/32/2636_2.png) [@ussaaron](https://forum.algorand.co/u/ussaaron)
#### Post date: [March 23, 2024, 5:10am UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705/1 "2024-03-23T05:10:30Z")

</div>

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!

> <https://github.com/algorandfoundation/xGov/pull/178>

---

<div class="post-metadata">

### Author: ![GhostOfMcAfee](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ghostofmcafee/32/3235_2.png) [@GhostOfMcAfee](https://forum.algorand.co/u/GhostOfMcAfee)
#### Post date: [April 19, 2024, 2:02pm UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705/2 "2024-04-19T14:02:21Z")

</div>

Should this be the subject of an ARC first?

---

<div class="post-metadata">

### Author: ![ussaaron](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ussaaron/32/2636_2.png) [@ussaaron](https://forum.algorand.co/u/ussaaron)
#### Post date: [April 25, 2024, 4:31pm UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705/3 "2024-04-25T16:31:59Z")

</div>

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](https://github.com/headline-design/xballot/tree/main/packages/siwa) and here - [xballot/apps/atlas/use-siwa at main · headline-design/xballot · GitHub](https://github.com/headline-design/xballot/tree/main/apps/atlas/use-siwa). I’ll be moving the code to a SIWA-specific repo once I have a working prototype.

---

<div class="post-metadata">

### Author: ![Adri](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/adri/32/2310_2.png) [@Adri](https://forum.algorand.co/u/Adri)
#### Post date: [May 8, 2024, 11:47am UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705/4 "2024-05-08T11:47:20Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ussaaron](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ussaaron/32/2636_2.png) [@ussaaron](https://forum.algorand.co/u/ussaaron)
#### Post date: [May 8, 2024, 12:28pm UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705/5 "2024-05-08T12:28:21Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ussaaron](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ussaaron/32/2636_2.png) [@ussaaron](https://forum.algorand.co/u/ussaaron)
#### Post date: [May 8, 2024, 12:35pm UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705/6 "2024-05-08T12:35:54Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Adri](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/adri/32/2310_2.png) [@Adri](https://forum.algorand.co/u/Adri)
#### Post date: [May 8, 2024, 1:24pm UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705/7 "2024-05-08T13:24:18Z")

</div>

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

---

<div class="post-metadata">

### Author: ![LoafPickle](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/loafpickle/32/3441_2.png) [@LoafPickle](https://forum.algorand.co/u/LoafPickle)
#### Post date: [May 24, 2024, 3:09pm UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705/8 "2024-05-24T15:09:57Z")

</div>

Congrats on your proposal passing!

---

<div class="post-metadata">

### Author: ![Adri](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/adri/32/2310_2.png) [@Adri](https://forum.algorand.co/u/Adri)
#### Post date: [May 27, 2024, 11:36am UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705/9 "2024-05-27T11:36:37Z")

</div>

Hi @ussaaron congrats on your proposal passing! 🙂

---

<div class="post-metadata">

### Author: ![ussaaron](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ussaaron/32/2636_2.png) [@ussaaron](https://forum.algorand.co/u/ussaaron)
#### Post date: [August 15, 2024, 8:05am UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705/10 "2024-08-15T08:05:13Z")

</div>

SIWA Deliverables (6/18/2024):

SIWA-NPM: [@avmkit/siwa - npm](https://www.npmjs.com/package/@avmkit/siwa)  
SIWA-Github: [avmkit/packages/siwa at main · headline-design/avmkit · GitHub](https://github.com/headline-design/avmkit/tree/main/packages/siwa)

CSR-Template-deployed: [https://algostack.vercel.app](https://algostack.vercel.app)  
CSR-Template-Github: [GitHub - headline-design/algostack](https://github.com/headline-design/algostack)

SSR-Template-deployed: [https://algostack-ssr.vercel.app](https://algostack-ssr.vercel.app)  
SSR-Template-Github: [GitHub - headline-design/algostack-ssr](https://github.com/headline-design/algostack-ssr)

SIWA-website-[https://siwa.org](https://siwa.org)  
SIWA-docs: [Help Center –&nbsp;SIWA](https://siwa.org/help)

SIWA-template-marketplace: [siwa-templates](https://siwa.org/templates)

---

<div class="post-metadata">

### Author: ![Adri](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/adri/32/2310_2.png) [@Adri](https://forum.algorand.co/u/Adri)
#### Post date: [August 26, 2024, 11:24am UTC](https://forum.algorand.co/t/xgov-178-siwa-sign-in-with-algorand/11705/11 "2024-08-26T11:24:49Z")

</div>

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