0.0.21 • Published 2 years ago

authul v0.0.21

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

authul

Installation

  1. Place the bundled/sw.js in a directory accessable from your front-end application
  2. Initizlize Authul:
import {Authul} from 'authul'

const auth = new Authul({endpoint: "https://auth.example.com", clientId: "<your_client_id>", ...otherOptions })

await auth.init()
await auth.getTokens()
  1. Place call redirect once Authotization is completed.

In redirect.html

import {redirect} from 'authul'
redirect()
0.0.20

2 years ago

0.0.21

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.9

2 years ago

0.0.16

2 years ago

0.0.8

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago