@salte-auth/okta

A Salte Auth provider for authenticating with Okta!

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@salte-auth/okta
3.1.0a year ago4 years agoMinified + gzip package size for @salte-auth/okta in KB

Readme

<a href="https://github.com/salte-auth/okta">
<img height="180px" src="https://raw.githubusercontent.com/salte-auth/logos/main/images/logo.svg?sanitize=true">
<br>
<br>
<img height="50px" src="https://raw.githubusercontent.com/salte-auth/logos/main/images/%40salte-auth/okta.svg?sanitize=true">
</a>

A Salte Auth provider for authenticating with Okta!

<strong>
<a href="https://salte-auth.gitbook.io">Docs</a>
<a href="https://salte-auth-demo.glitch.me">Demo</a>
</strong>

Install

```sh $ npm install @salte-auth/okta ```

Usage

```js import { SalteAuth } from '@salte-auth/salte-auth'; import { Okta } from '@salte-auth/okta'; import { Redirect } from '@salte-auth/redirect'; / Feel free to try out Salte Auth with this configuration! It should work with the following domains: - glitch.com - localhost:8081 / const auth = new SalteAuth({ providers:
new Okta({
url: 'https://dev-960892.oktapreview.com',
clientID: '0oajg1bj8hxM1z7pa0h7'
})
, handlers:
new Redirect({
default: true
})
}); auth.login('okta'); ```