Pros and cons of different auth methods

8base-sdk, userLogin & userSignUpWithToken, auth0 library, etc. What are the advantages and disadvantages of each? Do we need the sdk, or can it be accomplished solely with queries and mutations?

Another question is why someone would use a separate auth0 account? Does it provide more features than using the 8base auth0? Does it scale better for more users?

BTW, userLogin is not described in the documentation, but userSignUpWithToken is, so it’s a bit confusing.

Hey Mike!

Sorry but I’m a bit confused. Those operations you mentioned are GraphQL mutations. You don’t need the SDK to use them, as the SDK (currently) is what simplifies using hosted login pages.

Using a separate auth0 account is a way for you to save money! If you use your own auth0 account, you don’t incur our per/user pricing, just database rows. If you use 8base authentication, then it’s our user pricing.

Ok, so the SDK auth simplifies hosted (external) login pages then. If you have self-hosted (username and password, or Github for example), you can just use user* queries and mutations.

As for auth0, if pricing is the only concern, then everyone would just use that. It it only useful with lots of users? Is it just more convenient to use 8base auth?

Hey Mike - definitely more convenient to use 8base auth.

Quick clarification though, login mutations only work for email/password - not social sign on.