aiesec-embeddable-auth

Embeddable authentication for AIESEC

Usage no npm install needed!

<script type="module">
  import aiesecEmbeddableAuth from 'https://cdn.skypack.dev/aiesec-embeddable-auth';
</script>

README

AIESEC Embeddable Auth

Importing: import 'aiesec-embeddable-auth'; or load script from node_modules/aiesec-embeddable-auth/bundle.js

use css from node_modules/aiesec-embeddable-auth/bundle.css

Usage:

const embeddableAuth = new EmbeddableAuth({
  target: document.getElementById('embeddable-auth-container'),
  props: {
    baseUrl: 'https://auth-staging.aiesec.org',
    title: 'Login/Register with AIESEC',
  }
});