Git Product home page Git Product logo

shawkath646 / npm-next-auth-provider-cloudburst-lab Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.21 MB

This npm library enables OAuth 2.0 (OIDC) provider functionality, allowing users to log in via a CloudBurst Lab account in your Next.js application registered on the sh-authentication-system official website. Simply install, import, and start using it.

Home Page: https://www.npmjs.com/package/next-auth-provider-cloudburst-lab

TypeScript 100.00%
authjs github-provider google-provider next-auth nextjs oauth oauth2 oidc openid-connect provider sh-authentication-system cloudbustlab facebook-provider shas

npm-next-auth-provider-cloudburst-lab's Introduction

CloudBurst Lab Provider

This npm library enables OAuth 2.0 (OIDC) provider functionality, allowing users to log in via a CloudBurst Lab account in your Next.js application registered on the sh-authentication-system official website. Simply install, import, and start using it.

Installation


npm i next-auth-provider-cloudburst-lab

Usage

1. Register application to SH Authentication System application page.

Copy the app id and app secret that is provided into application details page.

2. Import CloudBurst Lab provider

Import CloudBurst Lab provider to next auth auth.config.ts file in the root directory:


import CloudBurstLab from "next-auth-provider-cloudburst-lab";
// ... other imports

export const authConfig  = {
  providers: [
    CloudBurstLab
    // ... rest of providers
  ],
  // ...rest of your configuration
} satisfies NextAuthConfig;

If you want to modify provider configuration like others provider, you can do it.


CloudBurstLab({
	// ... provider configuration
});

Note: If you have saved environment variables in this format you don't need to manually pass it.


SHAS_APP_ID=
SHAS_APP_SECRET=

OR, Next auth default:


AUTH_CLOUDBURSTLAB_ID=
AUTH_CLOUDBURSTLAB_SECRET=

Features

  • Hassle free login system

  • 3 popular providers to login your CloudBurst Lab account.

  • If you want to remotely active, inactive, show toast message in your nextjs application, use shas-app-controller

Requirements

  • Minimum version of Next Auth v5 @beta 15 for new configuration.

Author

Shawkat Hossain Maruf


Contact: [email protected]

Version

Current version: 1.0.0

Please use latest version to prevent bugs and errors!

CloudBurst Logo

A product of CloudBurst Lab

npm-next-auth-provider-cloudburst-lab's People

Contributors

shawkath646 avatar

Watchers

 avatar

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.