Custom SMS Provider – Basic login + Bearer token refresh | Community
Skip to main content
Silvio6
Level 5
February 23, 2026
Question

Custom SMS Provider – Basic login + Bearer token refresh

  • February 23, 2026
  • 0 replies
  • 14 views

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!