Query & Cookie Based Auth
Using smart links (query tokens) and cookie-based sessions for streamlined authentication.
Smart Links (Query Tokens)
// In your onFormRequest hook (FileMaker script)
Set Variable [ $token ; Value: JSONGetElement ( $$BF_Query ; "token" ) ]
// Validate your token here...
// Set a cookie from FileMaker using BF_SetAction_Function (1 day expiry)
Set Variable [ $$BF_Actions ; Value: BF_SetAction_Function ( "Vue.cookie.set('sessionId','abc123',1)" ) ]Cookie‑Based Sessions
Last updated
Was this helpful?