Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Conversation

Blckbrry-Pi
Copy link
Collaborator

No description provided.

Copy link
Collaborator Author

Blckbrry-Pi commented Jul 1, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Blckbrry-Pi and the rest of your teammates on Graphite Graphite

@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-01-feat_link_the_auth_oauth2_module_to_the_auth_provider_module branch from 0cb2af2 to 2599c2e Compare July 2, 2024 00:20
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-01-feat_link_the_auth_email_module_to_the_auth_providers_module branch from 64b59a3 to 71092e8 Compare July 2, 2024 00:20
@Blckbrry-Pi Blckbrry-Pi marked this pull request as ready for review July 2, 2024 00:24
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-01-feat_link_the_auth_email_module_to_the_auth_providers_module branch from 71092e8 to 3248b45 Compare July 2, 2024 01:53
@Blckbrry-Pi Blckbrry-Pi changed the base branch from 07-01-feat_link_the_auth_oauth2_module_to_the_auth_provider_module to 05-10-feat_create_an_oauth2_module_for_authenticating_users July 2, 2024 01:53
@Blckbrry-Pi Blckbrry-Pi force-pushed the 05-10-feat_create_an_oauth2_module_for_authenticating_users branch from 296d866 to c0dc3ef Compare July 3, 2024 02:17
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-01-feat_link_the_auth_email_module_to_the_auth_providers_module branch from 3248b45 to fb1643f Compare July 3, 2024 02:17
@Blckbrry-Pi Blckbrry-Pi force-pushed the 05-10-feat_create_an_oauth2_module_for_authenticating_users branch from c0dc3ef to fb94688 Compare July 3, 2024 02:17
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-01-feat_link_the_auth_email_module_to_the_auth_providers_module branch from fb1643f to bad4814 Compare July 3, 2024 02:17
@Blckbrry-Pi Blckbrry-Pi force-pushed the 05-10-feat_create_an_oauth2_module_for_authenticating_users branch 2 times, most recently from 1cace66 to 8227c7e Compare July 5, 2024 03:42
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-01-feat_link_the_auth_email_module_to_the_auth_providers_module branch from bad4814 to bae99d7 Compare July 5, 2024 03:42
@Blckbrry-Pi Blckbrry-Pi force-pushed the 05-10-feat_create_an_oauth2_module_for_authenticating_users branch from 8227c7e to 78ce41b Compare July 5, 2024 03:43
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-01-feat_link_the_auth_email_module_to_the_auth_providers_module branch 2 times, most recently from 18d6582 to 1a763f4 Compare July 5, 2024 03:49
@Blckbrry-Pi Blckbrry-Pi changed the base branch from 05-10-feat_create_an_oauth2_module_for_authenticating_users to 07-04-feat_create_the_user_passwords_module July 5, 2024 03:49
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-04-feat_create_the_user_passwords_module branch from a603a06 to cc6b5aa Compare July 5, 2024 03:51
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-01-feat_link_the_auth_email_module_to_the_auth_providers_module branch from 1a763f4 to ce75d1f Compare July 5, 2024 03:51
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-04-feat_create_the_user_passwords_module branch from cc6b5aa to 7a771d2 Compare July 19, 2024 23:48
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-01-feat_link_the_auth_email_module_to_the_auth_providers_module branch from ce75d1f to e6212d6 Compare July 19, 2024 23:48
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-04-feat_create_the_user_passwords_module branch from 7a771d2 to a84215f Compare July 20, 2024 17:42
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-01-feat_link_the_auth_email_module_to_the_auth_providers_module branch from e6212d6 to dab700c Compare July 20, 2024 17:45
@Blckbrry-Pi Blckbrry-Pi force-pushed the 07-01-feat_link_the_auth_email_module_to_the_auth_providers_module branch from dab700c to e783f99 Compare July 22, 2024 18:32
modules/auth_email/module.json Show resolved Hide resolved
modules/auth_email/module.json Show resolved Hide resolved
modules/auth_email/module.json Show resolved Hide resolved
"user_passwords": {},
"rate_limit": {}
},
"scripts": {
Copy link
Member

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.

Copy link
Collaborator Author

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(
Copy link
Member

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.

Copy link
Collaborator Author

@Blckbrry-Pi Blckbrry-Pi Aug 4, 2024

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.

modules/auth_email/utils/link_assertions.ts Show resolved Hide resolved
modules/auth_email/utils/code_management.ts Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants