Question
Custom SMS Provider – Basic login + Bearer token refresh
Hi, I’m configuring a Custom SMS provider in AJO.
The provider requires:
- A login request using Authorization: Basic base64(user:password) to retrieve a short-lived token
- A second request to send the SMS using Authorization: Bearer {token}
Since the token expires frequently, is it possible in AJO Custom SMS configuration to:
- Dynamically generate the Basic header?
- Handle the login call and reuse the returned token?
Or is middleware required to manage token refresh externally?
If Custom SMS config can’t manage this, can Custom Actions do that?
Thanks!