Skip to main content

How to add a new AuthMethod Type?

  • create a new script in src\core\auth and create an object with AuthMethod type
  • inside src\core\auth\utils.tsx:AuthMethodType add an enum value for your auth method
  • then add your object to src\core\auth\index.tsx:methods
  • create a button in src\screens\login\index.tsx along side the other auth buttons we have right now, call signIn with your AuthMethodType in onPress