Skip to content

Specification for auth protocol #207

Closed
@friedger

Description

@friedger

Background
What problems do you aim to solve? How does it serve the mission of a user owned internet?

Stacks connect and Hiro Wallet uses the stacks auth protocol to authenticate users in web apps. The documentation of the protocol is small. This proposal is about creating a specification that helps projects like Circle, Wise, Ryder to be interoperable. Web application should not worry about users having different authenticators.

Project Overview
What solution are you providing? Who will it serve?

The specification will be a written document a SIP proposal with at least one visual element. It should help to support custom authenticators (reference required) and to help solve bugs in implementations.

Scope
What are the components or technical specs of the project? What will the final deliverable look like? How will you measure success?

The SIP contains specification of the protocol including used cryptographic methods, transport protocols and message formats.

The proposal includes interaction with @larrysalibra @markmhx @0xAsteria and other interested community members.

Budget and Milestones
What grant amount are you seeking? How long will the project take in hours? If more than 20, please break down the project into milestones, with a clear output (e.g., low-fi mockup, MVP with two features) and include the estimated work hours for each milestone.

Total Grant Request: 2,000$

M1: SIP outline document
1 week

M2: Accepted SIP
3 weeks

Team
Who is building this? What relevant experience do you bring to this project? Are there skills sets you are missing that you are seeking from the community? Please share links to previous work.

Friedger (specified sip-9, pull request to fix auth issue: hirosystems/stacks.js#1117)

Risks
What dependencies or obstacles do you anticipate? What contingency plans do you have in place?

A previous diagram was not integrated in the official documentation due to design differences (stacks-network/docs#446), this can happen again.

Community and Supporting Materials
Do you have previous projects, code commits, or experiences that are relevant to this application? What community feedback or input have you received? How do you plan to share your plan to the community over time and as the final deliverable?

There is a general overview of the authflow here: https://docs.stacks.co/build-apps/guides/authentication

Earlier work from 2018 forum post by @larrysalibra et al.

Specification for OAuth2
Documentation for Unstoppabledomain login

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions