-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Us vs Auth0 #25
Comments
See the answers for SuperTokens hereDescribe the dev setup experience (how many steps and what are they + time overall)Basic setup for Frontend
Basic Setup for backend
Documentation reviewAuth0's documentation is really good. whenever you start an app and choose your techstack, you get a curated quick setup guide taking you through the setup process. Can you easily add a custom social provider?Auth0 allows you to easily add custom oauth service providers through their dashboard. The setup form asks you to enter the authorization URL, token URL, scope, client id, client secret and a fetch user profile script(queries the OAuth2 API with the accessToken). Auth0 allows users to use their databases populated with pre-existing users(usernames, password hashes etc). How does this work?(callbacks used, how are transactions implemented)Auth0
How can we go about customising the UI? From colours to full customisationAuth0's dashboard allows you to customize certain aspects of the long screen:
Social account consolidation?
How do we do things like handle sign up success?
The Auth0 actions can involve calling your API endpoint if you want to add user details to your db as well. However, during dev, if your endpoints are on If one needs to do something like paginating across all users in the app in their API, how can they do that?
How would adding custom sign up fields work?How would adding custom sign up validators work?Auth0 allows you to add custom sign up fields,
How to go about customising the email design and or the sender's domain?Auth0 allows for complete customization of all emails(Welcome, password reset, email verification, change password etc...) How to implement sign out functionality?
if you want to add a password strength meter to registration, how does it workIn Auth0's dashboard you can choose to customize he HTML code of the login widget. This allows you to change the config of lock widget to add additional fields, change styling etc. Adding custom elements in their editor does not seem to be something they encourage though. Auth0 has a password strength meter built into its lock UI. The password policy has a set of rules with a slider to customize how many rules to enforce
Email verification with Social providers, how does it work
Changing Email for social provider, how it works
For social account consolidation, how does changing the email work.
Email is not verified but password reset is done, does that verify email?
If a session expires is there a pop-up? does the user have to handle it.
RBAC, check properly, how to get the role of the user within the API for custom logic for both frontend and backend.Roles in auth0 is just a method to group together permissions.
what are the supported databases
Is there a mechanism for protecting routes (similar to the supertokens auth wrapper). How easy is it to protect multiple pages and what does the code look like?Auth0 provides a HOC withAuthenticationRequired which can be used for protecting routes. `` in your router set the path and the component to be protected using the new component
Auth0 mobile implementation, IOS and AndroidAuth0 provides SDK's for both android and ios and have good quick start guides for setup What are features that they provide that we don't?
If someone wants to tweak the sign up / sign in APIs, how can they do that?Auth0 provides some extensibility points for customizing the apis but they do not cover every scenario(they don't have pre and post customization for every API). The user can call the apis from the backend to allow for complete customization pre and post API calls but they would have to the frontend themselves as the lock widget does not allow you to change the endpoints for its actions. Changing password validation(or some similar feature) for sign up does this get propagated to other places(Signin, password reset)
How does revoking a session between your frontend and backend workHow to implement revoking a user's session functionality?User has multiple sessions, only want to revoke a couple of them, how does that work
What if you want to embed the sign up / in page into your website UI (As opposed to opening a new tab..). Is that possible?Auth0 allows you to embed login into your website. They allow to use their login widget sdk in your app or just use the auth0 sdk to query the auth endpoints. Will their solution work with serverless env like in nextjs or netlify?Auth0 provides a nextjs sdk.
implementation with ssrPre and Post Action scripts?
Execute Auth0's default functionality inside action script?
If a session expires is there a pop-up? does the user have to handle it?
sharing session across sub domains
How do go about sending emails yourself if you want to?Auth0's inbuilt test smtp mail server cannot be used in production and requires the user to setup smtp.
How well do they support various platforms and SDKs?
Can sessions be used with httpOnly cookies?
API customizabilityAuth0 allows you to query its API's from the backend and also perform management tasks(user management and tenant configuration) through its management API. How to disallow sign up and only have sign in?In Auth0's dashboard under the database option, you can choose to disable signups. Can you make the provider's frontend talk to your API instead of theirs? And then your APIs talk to their API.Going through auth0's lock(their frontend widget) configuration there are no options to set endpoints for actions like signup/signin. Setting up for the two use cases of multi tenancy?Auth0's Multi tenancy page in their docs mention a couple of ways to handle multi-tenant apps
Does it provide Email OTP as a feature?
Can a user be re-authenticated when visiting a protected route?This can be done as seen in this discussion by setting the max_age param and checking the auth_time Auth0 Marketplace
|
About account linking:Auth0 has proper automatic account linking. There are a few UX / security issues (but they are nothing major):
|
Questions
The text was updated successfully, but these errors were encountered: