@tidecloak/js
v0.13.26
Published
Add TideCloak authentication to any JavaScript app.
Readme
TideCloak JavaScript SDK
Add TideCloak authentication to any JavaScript app.
npm install @tidecloak/jsChoose Your Mode
| I'm building... | Use this mode |
|-----------------|---------------|
| A web app or SPA (Standard) | Front-channel |
| A secure app where tokens should stay on my server | Hybrid/BFF |
| An Electron, Tauri, or React Native app | Native |
Quick Comparison
| | Front-channel | Hybrid/BFF | Native | |---|---|---|---| | Tokens stored in | Browser | Server | App (secure storage) | | Best for | Simple web apps | High-security apps | Desktop/mobile apps | | Setup complexity | Easy | Medium | Medium | | Works offline | No | No | Yes |
Requirements
- A TideCloak server (setup guide)
- A registered client in your TideCloak realm
