Nervous Parrot Muttering

    @authing/web
    TypeScript icon, indicating that this package has built-in type declarations

    5.1.3 • Public • Published

    Official SDK of Authing for Browser

    npm version download License

    English | 简体中文

    Introduction

    You can use the Authing Browser SDK to quickly integrate authentication capabilities for new or existing web applications

    Documentation

    Install

    NPM

    $ npm install --save @authing/web

    Yarn

    $ yarn add @authing/web

    Use script tag

    <script src="https://cdn.authing.co/packages/web/5.1.0/index.global.js"></script>
    <script>
      const authing = new Authing({
        // Very important, please fill in carefully!
        // If the application enables SSO, you must write the "App Panel Address" for SSO here;
        // otherwise, fill in the application's "Subdomain".
        domain: "SSO App Panel Address",
    
        appId: "App ID",
    
        // The login callback address needs to be specified in the console
        // "Configuration - Authentication Configuration - Login Callback URL"
        redirectUri: "Login Callback URL",
    
        userPoolId: 'AUTHING_USER_POOL_ID'
      });
    </script>

    Contribution

    • Fork it
    • Create your feature branch (git checkout -b my-new-feature)
    • Commit your changes (git commit -am 'Add some feature')
    • Push to the branch (git push -u origin my-new-feature)
    • Create new Pull Request

    License

    MIT

    Copyright (c) 2019-present, Authing

    Keywords

    none

    Install

    npm i @authing/web

    DownloadsWeekly Downloads

    277

    Version

    5.1.3

    License

    MIT

    Unpacked Size

    154 kB

    Total Files

    19

    Last publish

    Collaborators

    • authing