Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Privy #14822

Merged
merged 101 commits into from
Oct 22, 2024
Merged

Privy #14822

Changes from 1 commit
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
d465480
first commit
julien51 Sep 9, 2024
67fc487
more cleanup
julien51 Sep 23, 2024
192f4de
merged conflicts
julien51 Sep 26, 2024
2b7a721
wip
julien51 Sep 26, 2024
48d3924
more changes
julien51 Sep 26, 2024
db9dc89
merged conflicts
julien51 Sep 27, 2024
f2b8bea
merged conflicts
julien51 Sep 27, 2024
abaa8ad
wip
julien51 Sep 30, 2024
f901e6d
merged
julien51 Oct 8, 2024
f1bed38
removed undue changes
julien51 Oct 8, 2024
b5e27b0
undue changes
julien51 Oct 8, 2024
8f4fc9c
undue changes
julien51 Oct 8, 2024
da87b45
Merge branch 'master' into privy
0xTxbi Oct 11, 2024
746e77e
add privy access token to auth context
0xTxbi Oct 11, 2024
1babeb4
Merge branch 'master' into privy
julien51 Oct 11, 2024
40218fd
update sign in
0xTxbi Oct 11, 2024
1bd1a73
trigger signin when user connects via privy
0xTxbi Oct 11, 2024
bdb3e66
update signout
0xTxbi Oct 11, 2024
813296d
fix weird modal behaviour
0xTxbi Oct 11, 2024
8007278
update connectedwallet
0xTxbi Oct 11, 2024
02da715
update connecte wallet
0xTxbi Oct 11, 2024
bc257f5
setup privy config
0xTxbi Oct 11, 2024
f38b005
instantiate privy client
0xTxbi Oct 11, 2024
e69d253
wip
0xTxbi Oct 11, 2024
78f2bad
wip
0xTxbi Oct 11, 2024
49779a1
install privy server library
0xTxbi Oct 11, 2024
e0e1988
Merge branch 'privy' of github.com:unlock-protocol/unlock into privy
julien51 Oct 11, 2024
a48adf9
using the correct token
julien51 Oct 11, 2024
820c1c1
some cleanup
julien51 Oct 11, 2024
daa8a2d
more cleanup
julien51 Oct 11, 2024
cf946f0
using callbacks
julien51 Oct 15, 2024
44de4e5
more work
julien51 Oct 15, 2024
eaa9eb4
sync with master
0xTxbi Oct 16, 2024
fc212ff
update yarn.lock
0xTxbi Oct 16, 2024
5e95758
cleanup
0xTxbi Oct 16, 2024
509c19a
update openapi
0xTxbi Oct 16, 2024
c44bbc8
cleanup
0xTxbi Oct 16, 2024
6bda630
cleanup auth context
0xTxbi Oct 16, 2024
a312b34
update provider
0xTxbi Oct 16, 2024
fe380a4
cleanup
0xTxbi Oct 16, 2024
5723b1c
cleanup
0xTxbi Oct 16, 2024
d52c987
update useProvider
0xTxbi Oct 16, 2024
b69648b
update tests
0xTxbi Oct 16, 2024
d370c75
Merge branch 'master' into privy
julien51 Oct 16, 2024
fd9d64e
trigger toast when error occurs in provider
0xTxbi Oct 17, 2024
246de9e
clean up
0xTxbi Oct 17, 2024
ba35f43
more cleanup
0xTxbi Oct 17, 2024
172d66e
more cleanup
0xTxbi Oct 17, 2024
bf02bfc
more cleanup and linting
0xTxbi Oct 17, 2024
847d2e0
Merge branch 'master' of github.com:unlock-protocol/unlock into privy
julien51 Oct 17, 2024
fb3e80b
cleanup
0xTxbi Oct 17, 2024
5d95dc9
remove connecting waas
0xTxbi Oct 17, 2024
7e0a5a2
linting
0xTxbi Oct 17, 2024
9b83114
cleanup unused items
0xTxbi Oct 17, 2024
3a1cf09
remove default header text
0xTxbi Oct 18, 2024
08458d2
update checkout disable logic
0xTxbi Oct 18, 2024
567c202
Merge branch 'privy' of github.com:unlock-protocol/unlock into privy
julien51 Oct 18, 2024
4d20444
paywall wip
0xTxbi Oct 18, 2024
2a341ff
update auth wrapper
0xTxbi Oct 18, 2024
7601ac1
Merge branch 'master' into privy
julien51 Oct 18, 2024
7102eb6
Merge branch 'privy' of github.com:unlock-protocol/unlock into privy
julien51 Oct 18, 2024
84e79b0
revert auth check
0xTxbi Oct 18, 2024
7bdbed9
Merge branch 'privy' of github.com:unlock-protocol/unlock into privy
julien51 Oct 18, 2024
f861ed7
disable signout when autologin fails
0xTxbi Oct 18, 2024
e33f6bf
enforce auth requirements in dashboard settings
0xTxbi Oct 18, 2024
59c20e5
Merge branch 'master' of github.com:unlock-protocol/unlock into privy
julien51 Oct 18, 2024
129bb0e
Merge branch 'master' into privy
0xTxbi Oct 18, 2024
9336805
some cleanup
julien51 Oct 21, 2024
f7b1a25
Merge branch 'privy' of github.com:unlock-protocol/unlock into privy
julien51 Oct 21, 2024
2e13d78
more shuffling
julien51 Oct 21, 2024
3283c45
more cleanup
julien51 Oct 21, 2024
6bd61ff
more
julien51 Oct 22, 2024
27342b0
test cleanup
0xTxbi Oct 22, 2024
2454354
fixed typescript
julien51 Oct 22, 2024
ac23fb9
Merge branch 'privy' of github.com:unlock-protocol/unlock into privy
julien51 Oct 22, 2024
d98085b
fixing metadata
julien51 Oct 22, 2024
b87a0fb
fix network switch error
0xTxbi Oct 22, 2024
98fb051
fixing typescript
julien51 Oct 22, 2024
d45e872
Merge branch 'privy' of github.com:unlock-protocol/unlock into privy
julien51 Oct 22, 2024
d52fce9
linting
0xTxbi Oct 22, 2024
d43eccd
update useAuth
0xTxbi Oct 22, 2024
26f9133
update dashboard settings
0xTxbi Oct 22, 2024
87e0f77
Merge branch 'privy' of github.com:unlock-protocol/unlock into privy
julien51 Oct 22, 2024
f67e225
fixed network description
julien51 Oct 22, 2024
a569b33
better error message
julien51 Oct 22, 2024
4b45248
useAuth replaced with useAuthenticate
julien51 Oct 22, 2024
f0519ec
typescript
julien51 Oct 22, 2024
875d95c
more typescript
julien51 Oct 22, 2024
10f423c
more typescript
julien51 Oct 22, 2024
da483b9
update signInWithPrivy logic
0xTxbi Oct 22, 2024
7d29bd2
fixed typescript
julien51 Oct 22, 2024
1081dc0
merged conflicts
julien51 Oct 22, 2024
d21782a
Merge branch 'master' into privy
0xTxbi Oct 22, 2024
a124584
setAccount
julien51 Oct 22, 2024
10f403f
adding back AuthenticationContext
julien51 Oct 22, 2024
632ce11
linting
julien51 Oct 22, 2024
be623e7
more linting
0xTxbi Oct 22, 2024
3834c77
disable connect button till privy is ready
0xTxbi Oct 22, 2024
be27a10
fixing disconnect
julien51 Oct 22, 2024
cf1ce5d
cleanup
julien51 Oct 22, 2024
c937fa5
cleanup
julien51 Oct 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
linting
  • Loading branch information
julien51 committed Oct 22, 2024
commit 632ce119cc1652c7d2f579a7c466bd4be4928ee8
2 changes: 1 addition & 1 deletion unlock-app/src/hooks/useAuthenticate.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useLogin, usePrivy, useWallets } from '@privy-io/react-auth'
import { useAppStorage } from './useAppStorage'
import { useContext, useEffect, useState } from 'react'
import { useContext, useEffect } from 'react'
import {
getAccessToken,
removeAccessToken,
Loading