React, React Native, Vue, Svelte and Next.js and plugins to integrate iltio.com Authentication into any website or application.
npm install iltio
Register for your APP_TOKEN
and check out the detailed documentation at iltio.com/getting-started.
import { Authentication } from 'iltio/react'
export function MyAuthentication() {
return (
<Authentication
configuration={{ token: APP_TOKEN }}
onSuccess={(name, token) => {
redirect('/overview', { name })
}}
/>
)
}
import { Authentication } from 'iltio/native' // Requires "unstable_enablePackageExports" in metro configuration.
import { Authentication } from 'iltio/dist/native/index.js' // Fallback without exports.
export const MyForm = () => <Authentication {...} />
<script>
import Authentication from 'iltio/vue'
</script>
<template>
<Authentication :configuration="{ token: 'demo' }" :on-success="(name) => console.log(name)" />
</template>
<script>
import Authentication from 'iltio/svelte'
</script>
<Authentication configuration={{ token: 'demo' }} onSuccess={(name) => console.log(name)} />