What would you like to see?
If a user connects another external account (i.e. Google, or Microsoft) to their account on Analog the connected account can be used to sign into Analog.
We want to disable this behaviour by default, and allow users to pick which accounts are allowed to be used for sign in.
-
However, make sure there is always at least one account with sign in capabilities enabled. So automatically designate the account used to sign up as such, and implement the relevant checks.
-
Update the procedures in the accounts router to return whether or not sign in is enabled.
-
Add two new procedures to the account router: enableSignIn, and disableSignIn.
-
Restrict the accounts that can be used for sign in to the following providers: google, microsoft. We are adding support for other providers in the future that should not be used for signing in.
This task is solely about the backend implementation, involves using tRPC, Better-Auth, and DrizzleORM.
Why is this feature useful?
No response
Have you considered any alternatives?
No response
Additional context or visuals
No response
What would you like to see?
If a user connects another external account (i.e. Google, or Microsoft) to their account on Analog the connected account can be used to sign into Analog.
We want to disable this behaviour by default, and allow users to pick which accounts are allowed to be used for sign in.
However, make sure there is always at least one account with sign in capabilities enabled. So automatically designate the account used to sign up as such, and implement the relevant checks.
Update the procedures in the accounts router to return whether or not sign in is enabled.
Add two new procedures to the account router:
enableSignIn, anddisableSignIn.Restrict the accounts that can be used for sign in to the following providers:
google,microsoft. We are adding support for other providers in the future that should not be used for signing in.This task is solely about the backend implementation, involves using tRPC, Better-Auth, and DrizzleORM.
Why is this feature useful?
No response
Have you considered any alternatives?
No response
Additional context or visuals
No response