Git Product home page Git Product logo

authc1

Authc1

The easiest way to secure your app or website with powerful authentication and authorization services.

Built for Edge

Cloudflare Queues Cloudflare Pages Cloudflare Workers
Cloudflare Queues Cloudflare Pages Cloudflare Workers

Table of Contents

Introduction

Authc1 is a fully-featured and easy-to-use authentication and authorization service for apps and websites that helps you secure your platform by verifying the identity of your users with state-of-the-art security features. Authc1 provides multiple authentication options including email and social media, and is compatible with any platform that supports JavaScript.

What Makes Authc1 Unique? πŸš€

Authc1 stands out from the crowd thanks to its unique combination of features and the power of cutting-edge technologies at the edge. Here's what makes Authc1 truly exceptional:

Edge-Powered Scalability 🌐

Authc1 leverages Cloudflare's advanced edge technologies, including Functions, Durable Objects, and Key-Value Stores (KVs), to provide unmatched scalability. With these technologies, Authc1 can effortlessly handle millions of authentication requests without breaking a sweat.

  • Functions: Authc1 uses Cloudflare Functions to execute code at the edge, reducing latency and ensuring lightning-fast responses. Whether you have a small app or a global platform, Authc1 scales effortlessly to meet your needs.

  • Durable Objects: Durable Objects allow Authc1 to maintain stateful connections at the edge, making real-time features like webhooks and event handling a breeze. Your users can enjoy a seamless and responsive experience no matter where they are in the world.

  • Key-Value Stores (KVs): Authc1 utilizes Cloudflare's distributed Key-Value Stores for efficient data storage and retrieval. This ensures that your user data is always available and secure, even during traffic spikes.

Authc1's architecture is built for high availability, low latency, and unlimited scalability, making it the perfect choice for apps and websites of all sizes.

With Authc1, you can trust that your authentication and authorization services will perform reliably and efficiently, even as your user base grows. πŸ“ˆ

Features

Multiple Authentication Options

Authc1 provides a variety of authentication methods to suit your needs:

  • Email: Allow users to sign up and log in with their email addresses. πŸ“§
  • Phone Login: Enable phone number-based authentication for a seamless login experience. πŸ“±
  • Social Login: Support social media login options including Google, GitHub, Apple, Facebook, Gitlab, Twitter, and more. 🌐

Webhooks for Real-time Events

Stay informed about user activity and important events with Authc1's webhook support. Receive real-time notifications about user sign-ups, logins, and other critical events, allowing you to take immediate action. πŸͺ

API Key for Server-to-Server Integration

Securely interact with Authc1 as an admin using API keys. Perform server-to-server operations and manage your authentication and authorization services effortlessly. πŸ”‘

Getting Started

To get started with Authc1, create an account and setup a new app within the Authc1 dashboard. After that, simply follow the instructions provided to setup Authc1 in your app.

Usage

Using Authc1 is easy - simply create a new @authc1/auth-js instance with your appId and start making API calls. Here’s a quick example:

Example Usage

import { Authc1Client } from '@authc1/auth-js';

const client = new Authc1Client('your-app-id-here');

async function signIn() {
  try {
    const result = await client.signInWithEmail('[email protected]', 'password123');
    console.log('Signed in successfully!');
    console.log('Access token:', result.access_token);
  } catch (error) {
    console.error('Error signing in:', error);
  }
}

signIn();
import { Authc1Client } from '@authc1/auth-js';

const client = new Authc1Client('your-app-id-here');

async function register() {
  try {
    await client.registerWithEmail('[email protected]', 'password123');
    console.log('User registered successfully!');
  } catch (error) {
    console.error('Error registering user:', error);
  }
}

register();
// Subscribe to changes in the user's auth state
const subscription = client.onAuthStateChange((event, session) => {
  console.log('Auth state changed:', event, session);
});

// Unsubscribe from auth state changes
subscription.unsubscribe();

For more information on how to use @authc1/auth-js, please see the documentation

API Reference

For detailed API reference and examples, please see the documentation

Contributing and Community Support 🀝

Authc1 thrives on community collaboration, and we welcome contributions from developers, designers, and users like you! Whether you want to report a bug, suggest an enhancement, or contribute code, there are several ways to get involved.

How You Can Contribute πŸ™Œ

  • Code Contributions: If you're a developer, you can help improve Authc1 by submitting pull requests with bug fixes, new features, or enhancements. Check out our CONTRIBUTING.md guide to get started.

  • Documentation: Clear and comprehensive documentation is essential. Help us improve our documentation by suggesting edits, additions, or clarifications. Documentation improvements are highly valued contributions.

  • Bug Reports: If you encounter a bug or an issue, please report it on our GitHub Issues page. Be sure to provide as much detail as possible to help us understand and address the problem.

  • Feature Requests: Have an idea for a new feature or improvement? Share it with us on the GitHub Issues page. We appreciate your input and may even invite you to collaborate on implementing the idea.

Community Support πŸ‘₯

We believe that a vibrant community makes Authc1 even better. Here's how you can support the Authc1 community:

  • Spread the Word: Help us grow by sharing Authc1 with your network. Tweet about your experience, write blog posts, or mention us at tech meetups and conferences.

  • Answer Questions: If you're experienced with Authc1, consider helping fellow developers on our community forums or on platforms like Stack Overflow. Sharing your knowledge can make a big difference.

  • Provide Feedback: Share your thoughts, suggestions, and ideas with us. We value your feedback and use it to make Authc1 even better.

Authc1 is committed to building a welcoming and inclusive community. We encourage respectful and constructive interactions among community members. Together, we can make Authc1 the best it can be!

Thank you for considering contributing to Authc1 and helping us create a powerful and secure authentication and authorization service for developers worldwide. 🌍

License

Authc1 is released under the MIT License.

authc1's Projects

authc1 icon authc1

Authc1 is a cloud-based, next-gen IAM platform that uses Cloudflare technologies to provide secure and seamless authentication and authorization for modern applications.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.