Skip to content

Generalized transactions plan #4

@k8ieone

Description

@k8ieone

Something like this could work:

/int/transaction - TBD, seems pretty complicated for now

type: onboarding
state: started | user info filled | finished
data: None
type: oidc_login
state: started | identified | code_issued | token_issued | finished/cancelled
data: Dict (mobile_transaction_id, OIDC data (Dict))
type: be_login
state: started | authorized
data: Dict (mobile_transaction_id)

GET /mobile/transaction?trx=UUID

state: started | identified | finished/cancelled -> removed
data: Dict (user_id - NOT RETURNED, app_name, extra_data (Dict))

/mobile/getTransactions - retrieves user's active transaction IDs, requires signed nonce

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions