/okta-auth-js

Okta Auth packaged up with Google Closure externs

Primary LanguageClojure

cljsjs/okta-auth-js

Clojure package for Okta Auth JS

https://github.com/okta/okta-auth-js

Setup

To use cljsjs package from local project repo do following:

  1. In project.clj setup local repository
:repositories {"local" "file:repo"}
  1. Build package
boot package install target
  1. Deploy .jar archive to local project repo e.g.
mvn deploy:deploy-file -Dfile=okta-auth-js-3.1.0-0.jar -DartifactId=okta-auth-js -Dversion=3.1.0-0 -DgroupId=cljsjs -Dpackaging=jar -Durl=file:repo
  1. Finally add dependency to your maven repository
lein deps

Usage

[cljsjs/okta-auth-js "3.1.0-0"]

This jar comes with deps.cljs as used by the Foreign Libs feature of the ClojureScript compiler. After adding the above dependency to your project you can require the packaged library like so:

(ns application.core
  (:require ["@okta/okta-auth-js"]))