Skip to content

asafshen/space-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Space App

An international space research that involve to discover the new space things

Add Authentication

<script src="./descope-wc.js"></script>
  <div class="login-container">
    <div class="login">
      <descope-wc 
        project-id="<project-id>"
        flow-id="<flow-id>"
        base-url="http://localhost:8000"
      >
      </descope-wc>
    </div>
  </div>
  <script>
    const descopeWcEle = document.getElementsByTagName('descope-wc')[0];
    descopeWcEle.addEventListener('success', () => {
      const el = document.querySelector('.login-container');
      el.parentElement.removeChild(el);
    });
  </script>
  • Thats It!

Releases

No releases published

Packages

No packages published

Languages