Skip to content

kpi-ua/kpi-id-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KPI ID Sign In Button

Running the project

Button script

# Locate to project
cd button

# Install deps
npm install

# Make a build
npm run build

# Run it in preview mode
npm run preview

Button script is cinfigured to run on port 5174

Demo page

# Locate to project
cd demo

# Install deps
npm install

# Run in dev mode
npm run dev

Installing KPI ID SignIn on your website

  1. Include button tag
<div id="kpi_id_signin" data-app-id="app-id" data-size="large" data-logo-alignment="left" data-locale="uk" data-color="brand"></div>
  1. Include script and initialization at the bottom of a web page
<script src="https://do4rt9wur3t6m.cloudfront.net/kpi-id-signin.js" async=""></script>
<script>
  if (window.KPIID && isInitialized) {
    window.KPIID.init();
  }
</script>

About

KPI ID Login Button

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •