JSPM

better-oauth-assert

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q12812F
  • License MIT

A better-auth plugin for OAuth assertion, providing utilities for better authentication workflows.

Package Exports

  • better-oauth-assert

Readme

OAuth Assert

License Build npm bundle size NPM Version

A lightweight plugin to assert and validate OAuth clients and flows.

Overview

OAuth Assert is a project designed to simplify the process of testing and validating OAuth implementations. It provides tools and utilities to ensure secure and compliant authentication flows.

Features

  • Easy-to-use utilities for OAuth testing.
  • Support for assert Oauth

Installation

To install the project, clone the repository and install dependencies:

pnpm install better-oauth-assert

Usage

Run the application using the following command:

import { betterAuth } from "better-auth"
import { oAuthAssert } from "better-oauth-assert"
 
export const auth = betterAuth({
    // ... other config options
    plugins: [
            oAuthAssert({
                config: [
                    {
                        providerId: "provider-id" ,
                        discoveryUrl: "http://example.com/.well-known/openid-configuration",
                        clientId: clientId,
                        clientAssertion: clientAssertionFunction,
                     // ... other config options
                }, 
                // Add more providers as needed
                ],
            }),
        ],
})

Refer to the documentation for detailed usage instructions.

Contributing

Contributions are welcome! Please follow the contribution guidelines.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or support, please contact developer@nahom.codes.