Developer

 View Only
  • 1.  Delays in the refresh token process

    Posted Aug 20, 2025 09:59 AM

    Hi team, I have two questions:

    1. Is there currently any issue with the refresh token endpoint? We have an integration and we've noticed it is taking longer than usual to refresh the token.

    2. Does Aruba provide any kind of service API token that does not expire every 2 hours?



    -------------------------------------------


  • 2.  RE: Delays in the refresh token process

    Posted Aug 21, 2025 04:38 AM

    Hi,

    You are using new or old Aruba Central API ?



    ------------------------------
    PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...

    PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)

    PowerArubaCL: Powershell Module to use Aruba Central

    PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------



  • 3.  RE: Delays in the refresh token process

    Posted Aug 21, 2025 11:24 PM

    We currently operate with a token that has a two-hour validity, whose refresh is automatically handled through the integration. It was created some time ago and is renewed continuously. I'm not sure if that's what you were referring to.

    -------------------------------------------



  • 4.  RE: Delays in the refresh token process

    Posted Aug 22, 2025 05:25 AM

    using this https://developer.arubanetworks.com/new-central/docs/generating-and-managing-access-tokens ?



    ------------------------------
    PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...

    PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)

    PowerArubaCL: Powershell Module to use Aruba Central

    PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------



  • 5.  RE: Delays in the refresh token process

    Posted Aug 22, 2025 09:31 AM

    Hi, this is the path where I retrieve the information for the token in order to execute my entire automation flow.

    -------------------------------------------



  • 6.  RE: Delays in the refresh token process

    Posted Sep 12, 2025 06:48 PM

    Hi @bcarreno! When refreshing your token are you using your refresh token to retrieve a new access token every time? What cluster are you on?



    ------------------------------
    Ti Chiapuzio-Wong (they/them)
    HPE Aruba Networking
    ------------------------------



  • 7.  RE: Delays in the refresh token process

    Posted Sep 13, 2025 04:44 AM

    For refresh you should use refresh token that has longer validity time. Peek into pycentral for implementation details or use it as wrapper to your calls.

    Best, Gorazd



    ------------------------------
    Gorazd Kikelj
    MVP Guru 2025
    ------------------------------