Token-based auto-login for hosted affiliate portal
Allow platforms to authenticate affiliates into the hosted Affonso portal directly from their own application, without requiring the user to enter their email or log in again.
Use Case:
A customer uses the Affonso API to build a custom in-app affiliate area. Their users are already authenticated in the host app. When a user clicks a button, they should be redirected to the hosted Affonso affiliate portal and be signed in automatically.
Expected Behavior:
Platform can generate a secure, short-lived login token for an affiliate
User is redirected to the hosted Affonso portal
Affiliate is automatically authenticated
No second login step or email input required
Notes:
This could be implemented via JWT, signed one-time login token, or a similar secure SSO-style mechanism.
Log in to comment and vote
Comments1
Silvestro
Apr 21
Generate a short-lived token to automatically authenticate an affiliate into the hosted portal:
https://docs.affonso.io/api/endpoint/affiliates/portal-token