Deeplink to login for Autoflex Cloud
How to create a login token to use deeplinking into Autoflex visual interface, the Autoflex cloud?
Step 1: Get login authenticate token
- GET:
https://www.autoflex10.dev/autoflex/servoy-service/velocity/webservice\_v2/authenticate?username=<client_username>&password=<client_password>&api_key=1FF28D7C-7F27-4ADE-A9FF-FBC5FD30AE35 - Parameters are:
username = existing client username/email address
password = matching users password
api_key = this API key: 1FF28D7C-7F27-4ADE-A9FF-FBC5FD30AE35 - The response contains a visual Autoflex cloud URL and a token.
If the response statuscode = 409, then the user is already logged in
Add the force=1 param to force a new login for this user, the old session will be logged out
Step 2: Login to cloud
- To log-in visual use this URL
https://www.autoflex10.dev/autoflex/servoy-webclient/ss?s=autoflex\_cloud&m=login&token=<token from step 1> - Parameters are:
m = always use: login
token = the token from step 1