-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Link the auth_email
module to the auth_providers
module
#125
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @Blckbrry-Pi and the rest of your teammates on Graphite |
0cb2af2
to
2599c2e
Compare
64b59a3
to
71092e8
Compare
71092e8
to
3248b45
Compare
296d866
to
c0dc3ef
Compare
3248b45
to
fb1643f
Compare
c0dc3ef
to
fb94688
Compare
fb1643f
to
bad4814
Compare
1cace66
to
8227c7e
Compare
bad4814
to
bae99d7
Compare
8227c7e
to
78ce41b
Compare
18d6582
to
1a763f4
Compare
a603a06
to
cc6b5aa
Compare
1a763f4
to
ce75d1f
Compare
cc6b5aa
to
7a771d2
Compare
ce75d1f
to
e6212d6
Compare
7a771d2
to
a84215f
Compare
e6212d6
to
dab700c
Compare
dab700c
to
e783f99
Compare
"user_passwords": {}, | ||
"rate_limit": {} | ||
}, | ||
"scripts": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this api is suuuper confusing (i know i helped design it :P). thoughts on splitting this up in to two modules which expose public scripts that call internal scripts exposed in this module. so devs will call auth_email_password
and auth_email_passwordless
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do eventually. Soon™.
} | ||
} | ||
|
||
export async function ensureNotAssociatedAll( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is very very expensive, it does at least 3 round trips to the database before doing anything else in the request. we should expose a batch api on identities module for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do. I'm wondering if we should be able to select matching identities by identityType
, as this may be useful for other things in the future.
No description provided.