next-auth-provider-cloudburst-lab
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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: shawkath646@gmail.com

Version

Current version: 1.0.0

Please use latest version to prevent bugs and errors!

CloudBurst Logo

A product of CloudBurst Lab

Package Sidebar

Install

npm i next-auth-provider-cloudburst-lab

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

2.52 MB

Total Files

5

Last publish

Collaborators

  • shawkath646