Whitelabel Custom Links - Dynamic Query Parameter + SSO Token
When the trainerize app is whitelabeled, you get the option to add custom links.
Please add support for dynamic query parameters in those links. E.g. https://mycustomlink.com?email={{customer.email}}
The second part is to add a temporary one time token that gets validated for Single Sign On, something like
https://mycustomlink.com?ssoToken={{customer | generateSSOToken}} =>https://mycustomlink.com?ssoToken=614ad6e7c15d17957e1777736d725f7a9a156d6c7a3ca68deb9316051ec37cc2
We could then pull the SSO token and run it against a new api POST /user/validateToken Payload {token: string}
That would return {"valid":bool, "user_id":string}.
This would allow us to auto log the user into the destination URL in a secure way.