This is an example project that lets you try out MikroAuth on a minimal use-case: Entering your email address to get a magic link and then see some data on your user. When logged in, you can also see some further information logged out to the console.
Local copies of the MikroAuth client library and MikroSafe are bundled with this example.
- Make sure that you have a MikroAuth server running. It should be enough to clone the MikroAuth repo and run it with
npm start
. - Then run this example repo with
npm start
. - If you have made configuration changes, then update the URL reference around line ~100 in
index.html
of this repo.