How to use the blockstack.redirectToSignIn function in blockstack

To help you get started, we’ve selected a few blockstack examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github recall-photos / recall-app / src / views / Home.vue View on Github external
login() {
      const { origin } = window.location
      blockstack.redirectToSignIn(origin, `${origin}/manifest.json`, [
        'store_write',
        'publish_data'
      ])
    },
    show() {
github Graphite-Docs / graphite / web / src / components / sheets / MainSheets.js View on Github external
handleSignIn(e) {
    e.preventDefault();
    const origin = window.location.origin
    redirectToSignIn(origin, origin + '/manifest.json', ['store_write', 'publish_data'])
  }
github ferrucc-io / kit-crm / src / components / Main.js View on Github external
handleSignIn(e) {
    e.preventDefault();
    redirectToSignIn(origin, `${origin}/manifest.json`, [
      'store_write',
      'publish_data',
    ]);
  }
github Graphite-Docs / graphite / web / src / components / Acceptances.js View on Github external
handleSignIn(e) {
    e.preventDefault();
    const origin = window.location.origin
    redirectToSignIn(window.location.href, origin + '/manifest.json', ['store_write', 'publish_data'])
  }
github jehunter5811 / graphite-blockstack / src / components / AppPage.js View on Github external
handleSignIn(e) {
    e.preventDefault();
    const origin = window.location.origin
    redirectToSignIn(origin, origin + '/manifest.json', ['store_write', 'publish_data'])
  }
github benoror / blockstack-create-react-app / src / App.js View on Github external
handleSignIn(event) {
    event.preventDefault();
    blockstack.redirectToSignIn()
  }
github citrusbyte / universal-wallet / packages / webapp / src / components / Auth.js View on Github external
onSignIn = () => {
    const url = document.location.href;
    const manifest = document.location.origin + '/static/manifest.json';
    redirectToSignIn(url, manifest);
  };
}
github Graphite-Docs / graphite / src / components / documents / Main.js View on Github external
handleSignIn(e) {
    e.preventDefault();
    const origin = window.location.origin
    redirectToSignIn(origin, origin + '/manifest.json', ['store_write', 'publish_data'])
  }
github Graphite-Docs / graphite / src / components / pro / helpers / invites.js View on Github external
export function acceptInvite(e) {
    const origin = window.location.origin;
    e.preventDefault();
    blockstack.redirectToSignIn(`${origin}/invite/accept`, origin + '/manifest.json', ['store_write', 'publish_data', 'email'])
}
github Graphite-Docs / graphite / web / src / components / SSO.js View on Github external
handleSignIn(e) {
    e.preventDefault();
    const origin = window.location.origin;
    redirectToSignIn(window.location.href, origin + "/manifest.json", [
      "store_write",
      "publish_data"
    ])
  }