Need advice about which tool to choose?Ask the StackShare community!

Amazon Cognito

609
912
+ 1
34
Auth0

1.3K
2.1K
+ 1
215
Guardian

7
18
+ 1
0

Amazon Cognito vs Auth0 vs Guardian: What are the differences?

Key differences between Amazon Cognito and Auth0 and Guardian

1. Pricing and Cost: The pricing structure for Amazon Cognito and Auth0 and Guardian differs significantly. Amazon Cognito offers a pay-as-you-go pricing model based on monthly active users (MAUs), while Auth0 and Guardian have a tiered pricing system based on the number of monthly active users or active connections. This difference in pricing models can significantly impact the cost of using these services for businesses.

2. Integration Options: Auth0 and Guardian provide a wide range of integration options with different platforms and languages, including social login providers such as Facebook, Google, and Twitter. On the other hand, Amazon Cognito has built-in integration with AWS services and supports standard protocols like OpenID Connect (OIDC) and Security Assertion Markup Language (SAML). The available integration options can determine the ease of integration and interoperability for developers.

3. Customizability and Branding: Auth0 and Guardian offer more extensive customization options for user interfaces and branding compared to Amazon Cognito. Organizations can customize login and signup experiences, emails, and user workflows to align with their brand identity. In contrast, Amazon Cognito provides limited customization options, primarily focused on basic styling, layout, and logo customization.

4. Security Controls and Compliance: Both Amazon Cognito and Auth0 and Guardian offer security controls, such as multi-factor authentication (MFA) and password strength requirements. However, Amazon Cognito, being an AWS service, inherits the rigorous security and compliance standards of AWS, such as SOC1, SOC2, and ISO 27001. Auth0 and Guardian, on the other hand, are compliant with industry standards like SOC2 Type II, GDPR, and HIPAA, making them suitable for organizations with specific compliance requirements.

5. Scalability and Performance: Amazon Cognito, as part of the AWS ecosystem, benefits from AWS's robust infrastructure and global presence, which ensures scalability and high-performance capabilities. Auth0 and Guardian also provide scalable solutions, but their performance might rely more on the data centers or regions where their services are deployed. Considerations for scalability and performance should be taken into account based on the target audience and expected user load.

6. Developer Experience and Documentation: Auth0 and Guardian are known for their developer-friendly experience, comprehensive documentation, and extensive community support. With Auth0 and Guardian, developers can easily get started and find resources to troubleshoot specific issues. Amazon Cognito, being an AWS service, has documentation and resources focused on AWS developers, which might require additional familiarity with AWS services and concepts.

In summary, Amazon Cognito and Auth0 and Guardian differ in pricing models, integration options, customization capabilities, security controls and compliance, scalability and performance, and the developer experience and documentation. The choice between these services depends on specific business requirements, budget, preferred integration options, desired level of customization, security and compliance needs, scalability considerations, and developer preferences.

Advice on Amazon Cognito, Auth0, and Guardian

Hey all, We're currently weighing up the pros & cons of using Firebase Authentication vs something more OTB like Auth0 or Okta to manage end-user access management for a consumer digital content product. From what I understand so far, Something like Firebase Auth would require more dev effort but is likely to cost less overall, whereas OTB, you have a UI-based console which makes config by non-technical business users easier to manage. Does anyone else have any intuitions or experiences they could share on this, please? Thank you!

See more
Replies (1)

Hey, we've had implemented Firebase auth in less than two days. Their doc is amazing and I don't understand why you think that it will take more effort than Auth0. Prices are really good (free, except if you use more than 10k/sms month).

See more

We need to migrate our authentication system to an external solution. We have a Vue.js frontend and a set of Services (mostly in Python) that talk to each other through APIs. This platform is multitenant, having all tenants in the same DB (MongoDB) and discriminating between them with a parameter value. So I'll be grateful if someone can share their experiences with any of these three options!

See more
Replies (1)
Micha Mailänder
CEO & Co-Founder at Dechea · | 4 upvotes · 86.9K views
Recommends
on
Auth0Auth0FaunaFauna
at

If these three are your options, I would recommend going with Auth0. They have all functionality available as developer API (Okta e.g. not) so you can manage your instance with Infrastructure as code and can also easily add functionalities relatively easily with the API. They are also really powerful if we're talking about ABAC (Attribute based access control). You can also enrich your access token with custom claims from your MongoDB, that can be probably really useful, as you said that you're dealing with multi tenancy.

We're using Auth0 in combination with Fauna Fauna is a database, so it would challenge you're mongodb. But Faunadb is the first database that implemented a full end user ABAC system directly in the database. (And also a lot easier than the ABAC systems from Okta or Auth0). This helps us, to use Auth0 only as identity platform and doing all the authorization with enriched claims over Fauna. With that you can skip in a lot of the cases you're backend, and you can request directly from the frontend your database (Blazing fast). Also, you can replace in some years Auth0 a lot easier with some upcoming cheaper (Auth0 was bought by Okta for a hilarious price) and "easy to use" passwordless identity provider like Passage.id

See more
Needs advice
on
Auth0Auth0
and
PassportPassport

Currently, Passport.js repo has 324 open issues, and Jared (the original author) seems to be the one doing most of the work. Also, given that the documentation is not proper. Is it worth using Passport.js?

As of now, StackShare shows it has 29 companies using it. How do you implement auth in your project or your company? Are there any good alternatives to Passport.js? Should I implement auth from scratch?

See more
Replies (1)
Recommends
on
Auth0Auth0

I would recommend Auth0 only if you are willing to shell out money. You can keep up with their free version only for a very limited time and as per our experience as a growing startup where budget is an issue, their support was not very helpful as they first asked us to sign a commercial agreement even before helping us t o find out whether Auth0 fits our use case or not! But otherwise Auth0 is a great platform to speed up authentication. In our case we had to move to alternatives like Casbin for multi-tenant authorization!

See more
Decisions about Amazon Cognito, Auth0, and Guardian
Ryan Wans

Using Auth0 and JWT with a simple session management server is easy and takes care of a lot of the hassle of setting up authentication. We feel safe having Auth0 handle and store our user data knowing their databases are way more secure than anything we could have setup ourselves. They also provide great tools like WebHooks and action events to pull critical metadata to our API when we need it.

See more
Brent Maxwell
Migrated
from
Amazon CognitoAmazon Cognito
to
Auth0Auth0

I started our team on Amazon Cognito because I was a Solutions Architect at AWS and found it really easy to follow the tutorials and get a basic app up and running with it.

When our team started working with it, they very quickly became frustrated because of the poor documentation. After 4 days of trying to get all the basic passwordless auth working, our lead engineer made the decision to abandon it and try Auth0... and managed to get everything implemented in 4 hours.

The consensus was that Cognito just isn't mature enough or well-documented, and that the implementation does not cater for real world use cases the way that it should. I believe Amplify has made some of this simpler, but I would still recommend Auth0 as it's been bulletproof for us, and is a sensible price.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Amazon Cognito
Pros of Auth0
Pros of Guardian
  • 14
    Backed by Amazon
  • 7
    Manage Unique Identities
  • 4
    Work Offline
  • 3
    MFA
  • 2
    Store and Sync
  • 1
    Free for first 50000 users
  • 1
    It works
  • 1
    Integrate with Google, Amazon, Twitter, Facebook, SAML
  • 1
    SDKs and code samples
  • 70
    JSON web token
  • 31
    Integration with 20+ Social Providers
  • 20
    It's a universal solution
  • 20
    SDKs
  • 15
    Amazing Documentation
  • 11
    Heroku Add-on
  • 8
    Enterprise support
  • 7
    Great Sample Repos
  • 7
    Extend platform with "rules"
  • 4
    Azure Add-on
  • 3
    Easy integration, non-intrusive identity provider
  • 3
    Passwordless
  • 2
    It can integrate seamlessly with firebase
  • 2
    Great documentation, samples, UX and Angular support
  • 2
    Polished
  • 2
    On-premise deployment
  • 1
    Will sign BAA for HIPAA-compliance
  • 1
    MFA
  • 1
    Active Directory support
  • 1
    Springboot
  • 1
    SOC2
  • 1
    SAML Support
  • 1
    Great support
  • 1
    OpenID Connect (OIDC) Support
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of Amazon Cognito
    Cons of Auth0
    Cons of Guardian
    • 4
      Massive Pain to get working
    • 3
      Documentation often out of date
    • 2
      Login-UI sparsely customizable (e.g. no translation)
    • 1
      Docs are vast but mostly useless
    • 1
      MFA: there is no "forget device" function
    • 1
      Difficult to customize (basic-pack is more than humble)
    • 1
      Lacks many basic features
    • 1
      There is no "Logout" method in the API
    • 1
      Different Language SDKs not compatible
    • 1
      No recovery codes for MFA
    • 1
      Hard to find expiration times for tokens/codes
    • 1
      Only paid support
    • 15
      Pricing too high (Developer Pro)
    • 7
      Poor support
    • 4
      Rapidly changing API
    • 4
      Status page not reflect actual status
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      What is Amazon Cognito?

      You can create unique identities for your users through a number of public login providers (Amazon, Facebook, and Google) and also support unauthenticated guests. You can save app data locally on users’ devices allowing your applications to work even when the devices are offline.

      What is Auth0?

      A set of unified APIs and tools that instantly enables Single Sign On and user management to all your applications.

      What is Guardian?

      Avoid dealing with OAuth logic in your code, and spend more time creating your product. Guardian reduces the OAuth footprint in your code to a single request. Built with modularity in mind, Guardian leverages plugins to handle OAuth flows, should you encounter a flow that Guardian doesn't handle, create a small flow plugin to do so and carry on. Guardian comes with 5 pre-made plugins that cover 99% of OAuth services.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use Amazon Cognito?
      What companies use Auth0?
      What companies use Guardian?
        No companies found

        Sign up to get full access to all the companiesMake informed product decisions

        What tools integrate with Amazon Cognito?
        What tools integrate with Auth0?
        What tools integrate with Guardian?
          No integrations found

          Sign up to get full access to all the tool integrationsMake informed product decisions

          Blog Posts

          Sep 29 2020 at 7:36PM

          WorkOS

          PythonSlackG Suite+17
          6
          3145
          What are some alternatives to Amazon Cognito, Auth0, and Guardian?
          Okta
          Connect all your apps in days, not months, with instant access to thousands of pre-built integrations - even add apps to the network yourself. Integrations are easy to set up, constantly monitored, proactively repaired and handle authentication and provisioning.
          Firebase
          Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.
          AWS IAM
          It enables you to manage access to AWS services and resources securely. Using IAM, you can create and manage AWS users and groups, and use permissions to allow and deny their access to AWS resources.
          Keycloak
          It is an Open Source Identity and Access Management For Modern Applications and Services. It adds authentication to applications and secure services with minimum fuss. No need to deal with storing users or authenticating users. It's all available out of the box.
          Postman
          It is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide.
          See all alternatives