-
I would like to get users started with zero interaction, i.e., upon first start, initialize a trial license that expires after n weeks. How to best go about this?
Perhaps there are better alternatives. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In this scenario, what would stop a user from possibly requesting more than 1 trial by simply generating a new dummy user? Typically, you would create a license for each trial user (again, typically server-side), using a trial policy that expires after a certain amount of time. Same flow for a full license. The trial user would input their key like any other licensed user. Then to limit duplicate trials, you would also want to activate their device and the fingerprint's unique across the trial policy's licenses (i.e. assert that the same device hasn't been activated for another trial license in the past, indicating a duplicate trial.) I don't have a sure-fire solution for a 100% no-interaction licensing flow, but if you or anybody else has ideas, I'm all ears. I'll think on it more and see if I can come up with anything. Are you wanting to do everything client-side, or is a server-side flow OK? |
Beta Was this translation helpful? Give feedback.
-
You'd likely need to perform this custom flow server-side. You'd want to set up a server-side endpoint that accepts a fingerprint parameter, and either generates a license for it and activates the fingerprint, or retrieves an existing license, depending on if it's already activated. Licenses need to be explicitly created using the API, Keygen doesn't automatically create them for you. |
Beta Was this translation helpful? Give feedback.
You'd likely need to perform this custom flow server-side. You'd want to set up a server-side endpoint that accepts a fingerprint parameter, and either generates a license for it and activates the fingerprint, or retrieves an existing license, depending on if it's already activated. Licenses need to be explicitly created using the API, Keygen doesn't automatically create them for you.