Remember Me
DayBackOnline.RememberMe History
Show minor edits - Show changes to output
Changed lines 17-18 from:
to:
%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/daybackonline/UserToken.png | https://www.seedcode.com/rootimages/stikipad/daybackonline/UserToken.png]]
Changed line 21 from:
--> "https://app.dayback.com/?userToken=" &
to:
-->[= "https://app.dayback.com/?userToken=" &=]
Changed line 27 from:
--->n = "Admin" ; "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2IjowLCJkIjp7InByb3ZpZGVyIjoicGFzc3dvcmQiLCJ1aWQiOiJzaW1wbGVsb2dpbjoxNzEifSwiaWF0IjoxNDQ1MjE5NTYyfQ.IH1Ipkx6Gj40eFwjTa8t8orF-S9wO8pFHzV91UlGDy0"
to:
--->n = "Admin" ; "eyaWQiOiJzaW1wbGVsb2dpJ0eXAiOi..."
Added lines 1-29:
!! Can I set this up so I don't have to keep logging into DayBack Online?
Yes. If you're using DayBack Online in a browser then just mark "remember me" when signing on and DayBack won't ask you for your login again for quite some time (unless you manually sign-out from the account settings tab).
If you're working with DayBack Online in a FileMaker web viewer, the "remember me" checkbox works the same way and won't ask you to log in again when you return to the webviewer layout.
It will, however, ask you to login again if you quit FileMaker and reopen it. To prevent this you can include a user token in the webviewers url. So where you might otherwise just use this as the webviewer url:
--> https://app.dayback.com
You'd enter this as the url instead...
--> https://app.dayback.com/?userToken=MyUserToken
...where "MyUserToken" is the token you can find on the "me" tab of DayBack on Settings / Account Settings:
sdhsd
Since each user gets their own user token you may want to make the web viewer url a calc that sets the user token for each logged in user's account name, like this:
--> "https://app.dayback.com/?userToken=" &
--> Let ( [
---> n = Get ( AccountName )
--> ] ;
--> Case (
--->n = "Joe Smith" ; "dfasfgfgsfgf" ;
--->n = "Admin" ; "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2IjowLCJkIjp7InByb3ZpZGVyIjoicGFzc3dvcmQiLCJ1aWQiOiJzaW1wbGVsb2dpbjoxNzEifSwiaWF0IjoxNDQ1MjE5NTYyfQ.IH1Ipkx6Gj40eFwjTa8t8orF-S9wO8pFHzV91UlGDy0"
--->)
-->)
Yes. If you're using DayBack Online in a browser then just mark "remember me" when signing on and DayBack won't ask you for your login again for quite some time (unless you manually sign-out from the account settings tab).
If you're working with DayBack Online in a FileMaker web viewer, the "remember me" checkbox works the same way and won't ask you to log in again when you return to the webviewer layout.
It will, however, ask you to login again if you quit FileMaker and reopen it. To prevent this you can include a user token in the webviewers url. So where you might otherwise just use this as the webviewer url:
--> https://app.dayback.com
You'd enter this as the url instead...
--> https://app.dayback.com/?userToken=MyUserToken
...where "MyUserToken" is the token you can find on the "me" tab of DayBack on Settings / Account Settings:
sdhsd
Since each user gets their own user token you may want to make the web viewer url a calc that sets the user token for each logged in user's account name, like this:
--> "https://app.dayback.com/?userToken=" &
--> Let ( [
---> n = Get ( AccountName )
--> ] ;
--> Case (
--->n = "Joe Smith" ; "dfasfgfgsfgf" ;
--->n = "Admin" ; "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2IjowLCJkIjp7InByb3ZpZGVyIjoicGFzc3dvcmQiLCJ1aWQiOiJzaW1wbGVsb2dpbjoxNzEifSwiaWF0IjoxNDQ1MjE5NTYyfQ.IH1Ipkx6Gj40eFwjTa8t8orF-S9wO8pFHzV91UlGDy0"
--->)
-->)