Commit 414b94e
OIDC/merge guardians branch again (#89)
* feat: add initial guardian recovery views
* feat: add confirm guardian view
* feat: improve guardian view with edge cases
* fix: remove commented code
* feat: improve component imports
* feat: add logout icon in desktop breakpoint
* fix: naming
* fix: pnpm lock
* fix: wrong nav component import
* fix: add missing package to cspell
* feat: add recover account views
* feat: add unknown account page
* feat: improve account init recovery start
* feat: reorganize routes with typed routes
* feat: add recovery process warning when logged in
* feat: add account not ready page
* fix: confirm-guardian page
* feat: add base guardian recovery module
* chore: update contracts submodule
* chore: update contracts submodule
* chore: update contracts submodule
* feat: add sso account validation
* Update packages/auth-server/pages/recovery/guardian/index.vue
Co-authored-by: Lukasz Romanowski <5160687+MiniRoman@users.noreply.github.com>
* feat: add integration with /recovery/guardian/find-account
* feat: integrate contracts in guardians settings page
* feat: set proper path to confirm-guardian page
* feat: add guardian confirmation integration
* feat: add ui improvements
* feat: address pr comments
* feat: update contracts submodule
* chore: update contract submodule
* feat: add integration to confirm recovery view
* feat: add integration with cancel recovery (#53)
* feat: add integration with cancel recovery
* feat: update contracts submodule and abi
* feat: add verify recovery view on the main page
* chore: update contracts
* feat: add missing nuxt config
* feat: new passkey signature format
includes the credential id, which is hopefully available
* feat: custom paymaster handler & zyfi integration (#51)
* feat: custom paymaster handler & zyfi integration
* feat: export paymaster package
* fix: bigint serializer
* feat: passkey paymaster handler & general paymaster handler & fix types
* fix: import path
* chore: add new words to cspell
* chore: fix zyfi input data
* fix: ci (#60)
* fix: update to include credential id on creation
Also update contracts locally
* chore: update to latest contracts
* fix: update lockfile from contract dep change
* fix: import for utils
* fix: update signature format tests
It doesn't look correct visually, but it's mocked on both ends
so it's not super clear on what it's testing
* feat: attempt to use new dynamic contract addresses
When deploying the contracts, it should create the file, blocking the build
* fix: provide an example file
Can have a different test to make sure this gets updated or
put the contract build step into the other builds
* fix: add create2 to nft deploy
Try encoding the local contracts directly instead of via env vars
doesn't appear to work locally...
* fix: encode passkey id as bytes
This was correct on creation, but wrong on signing
* chore: update to latest contract
* fix: update hardcoded signatures for passkey view
This was super tough to find and would have been a compile error
had we imported the abi directly from the contracts!
This is something I'm going to look into so we don't lose our minds
* fix: remove debugging changes
You just have to know that the quest address is added via .env.local
so the object in the config isn't used
* feat: improve confirm guardian flow
* chore: update contracts package
* feat: execute pending recovery on login (#57)
* feat: execute pending recovery on login
* feat: move recovery client to sdk
* feat: add account-not-ready view
* chore: fix pnpm lock
---------
Co-authored-by: aon <21188659+aon@users.noreply.github.com>
* fix: parse newly created account address from events (#66)
* fix: parse newly created account address from events
* fix: unit tests
* feat: attempt to import abi automatically
Having to manually update the ABI kinda defeats the point of type
safety, but it's clear the auto-generated one doesn't play nice
with the existing file so more work will be necessary to update it
so it's compatible
* fix: use view function to get key
Picks up a fix from the publish function for the correct abi
* fix: remove publish from CI
It looks like nuxt builds don't like the poorly formatted json,
so instead of trying to pretty print the abi automatically we'll
rely on the editor tools to do this.
At the very least the publish step is documented?
* fix: update import names
problem was not the file format, but the file name change
* fix: pad bytes32 values for proper abi encoding (#61)
Co-authored-by: cpb8010 <cpb8010@users.noreply.github.com>
* fix: use pnpm run build instead of build
CI is behaving strange?
* fix: use correct contract branch
* fix: pull contract directory in CI
This explains why the build was failing
* feat: setup local node for deploy
This should be fine because we aren't actually using it
* feat: improve recovery flow (#71)
* feat: add placeholder to account select component
* feat: add init recovery method to be used by any client
* feat: improve recovery flow
* feat: improve confirm recovery flow
* feat: improve styles
* Feat/update to match contracts (#81)
* feat: update to work with new guardian validator
* chore: update contracts submodule
* chore: remove duplicated hooks
* chore: update guardian validator abi
* feat: update to match new contracts
* chore: update contracts repo
* feat: use recovery guardian sso contracts deployment
* chore: temporarily hardcode appkit project id
* chore: temporarily change app url
* feat: unify encoding of credential id
* feat: unify encoding of credential id
* feat: use provider from appkit
* feat: new passkey signature format (#58)
* feat: new passkey signature format
includes the credential id, which is hopefully available
* fix: update to include credential id on creation
Also update contracts locally
* chore: update to latest contracts
* fix: update lockfile from contract dep change
* fix: import for utils
* fix: update signature format tests
It doesn't look correct visually, but it's mocked on both ends
so it's not super clear on what it's testing
* feat: attempt to use new dynamic contract addresses
When deploying the contracts, it should create the file, blocking the build
* fix: provide an example file
Can have a different test to make sure this gets updated or
put the contract build step into the other builds
* fix: add create2 to nft deploy
Try encoding the local contracts directly instead of via env vars
doesn't appear to work locally...
* fix: encode passkey id as bytes
This was correct on creation, but wrong on signing
* chore: update to latest contract
* fix: update hardcoded signatures for passkey view
This was super tough to find and would have been a compile error
had we imported the abi directly from the contracts!
This is something I'm going to look into so we don't lose our minds
* fix: remove debugging changes
You just have to know that the quest address is added via .env.local
so the object in the config isn't used
* feat: attempt to import abi automatically
Having to manually update the ABI kinda defeats the point of type
safety, but it's clear the auto-generated one doesn't play nice
with the existing file so more work will be necessary to update it
so it's compatible
* fix: use view function to get key
Picks up a fix from the publish function for the correct abi
* fix: remove publish from CI
It looks like nuxt builds don't like the poorly formatted json,
so instead of trying to pretty print the abi automatically we'll
rely on the editor tools to do this.
At the very least the publish step is documented?
* fix: update import names
problem was not the file format, but the file name change
* fix: use pnpm run build instead of build
CI is behaving strange?
* fix: use correct contract branch
* fix: pull contract directory in CI
This explains why the build was failing
* feat: setup local node for deploy
This should be fine because we aren't actually using it
* [wip] Add application metadata (#82)
* feat: provide auth-server metadata
Can be helpful for custom auth-server implementions that want extra data
* fix: use a record instead of an array of records
There's not really much extra flexibility here, so just keep it simple
* fix: update demo app with new metadata format
* Update packages/auth-server/components/session/Metadata.vue
---------
Co-authored-by: Nicolas Villanueva <1890113+MexicanAce@users.noreply.github.com>
* fix: update to breaking factory change
This was already fixed during guardian module work
* fix: update ABI
breaking name and argument changes were not published
Added publish step to readme
* fix: update new variable name
now automatically checked via types!
* fix: update test mock
The log parsing format is broken because the return type changed,
but regenerating the log format is non-trival so that can be updated later.
introducing #84
* fix: update account id length
Updating the tests to match
---------
Co-authored-by: Nicolas Villanueva <1890113+MexicanAce@users.noreply.github.com>
* feat: update to latest contracts version
* chore: fix build
* feat: upgrate paymaster
* chore: bump submodules
* chore: bump contract submodule
* fix: fixes after merge
oidc working
lots of testing missing
* fix: fix nft app wip
* feat: remove aud and iss from pub inputs (#90)
* feat: remove aud and iss from pub inputs
remove aud and iss from pub inputs
* fix: test should deploy all contracts
test should deploy all contracts
* fix: fixed sdk tests
---------
Co-authored-by: calvo.generico <miguelfeliped@gmail.com>
* fix: more fixes
* fix: more fixes
---------
Co-authored-by: aon <21188659+aon@users.noreply.github.com>
Co-authored-by: Lukasz Romanowski <5160687+MiniRoman@users.noreply.github.com>
Co-authored-by: cbe <cbe@matterlabs.dev>
Co-authored-by: Utkir S. <sobirovutkir@gmail.com>
Co-authored-by: Nicolas Villanueva <1890113+MexicanAce@users.noreply.github.com>
Co-authored-by: cpb8010 <cpb8010@users.noreply.github.com>
Co-authored-by: Lyova Potyomkin <lyova.potyomkin@gmail.com>
Co-authored-by: Matías Ignacio González <maigonzalez@fi.uba.ar>1 parent 248ea65 commit 414b94e
File tree
85 files changed
+2879
-1245
lines changed- .github/workflows
- cspell-config
- examples
- nft-quest-contracts/deploy
- nft-quest
- packages
- auth-server
- components
- account-recovery
- guardian-flow
- passkey-generation-flow
- session/row
- zk
- composables
- pages
- dashboard
- recovery
- google
- guardian
- (actions)
- stores
- oidc-server/src
- sdk
- src
- abi
- client-auth-server
- client
- oidc
- actions
- passkey
- actions
- decorators
- recovery
- actions
- decorators
- session
- actions
- decorators
- connector
- paymaster
- handlers
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
85 files changed
+2879
-1245
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 44 | | |
48 | 45 | | |
49 | 46 | | |
50 | 47 | | |
51 | 48 | | |
52 | | - | |
| 49 | + | |
53 | 50 | | |
54 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 118 | | |
122 | 119 | | |
123 | 120 | | |
124 | 121 | | |
125 | 122 | | |
126 | | - | |
| 123 | + | |
127 | 124 | | |
128 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
32 | 51 | | |
33 | 52 | | |
34 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
35 | 54 | | |
36 | 55 | | |
37 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
32 | 51 | | |
33 | 52 | | |
34 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
36 | 53 | | |
37 | 54 | | |
38 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
29 | | - | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
109 | 120 | | |
110 | | - | |
111 | 121 | | |
112 | 122 | | |
113 | 123 | | |
114 | 124 | | |
115 | 125 | | |
116 | 126 | | |
117 | | - | |
| 127 | + | |
118 | 128 | | |
119 | 129 | | |
120 | 130 | | |
121 | 131 | | |
122 | 132 | | |
123 | 133 | | |
124 | | - | |
| 134 | + | |
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments