hlxsites / danaher-ls-aem

AEM Franklin / Crosswalk site for DH Life Sciences
Apache License 2.0
2 stars 4 forks source link

Auth token auto refresh #139

Open deepakk799 opened 11 months ago

deepakk799 commented 11 months ago

auth token should be refreshed and get the updated token before the token expires.

Refresh API - curl --location 'https://dev.shop.lifesciences.danaher.com/INTERSHOP/rest/WFS//DANAHERLS-LSIG-Site/-/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'refresh_token=encryption0@PBEWithMD5AndTripleDES:hJsxk+lUZJA=|dZPyIhuvMnEAUoIN2RLrCy+GUvlt9Zeq9p+iQrn1lhchfl32h/ZspGug9VTP1gL4' \ --data-urlencode 'grant_type=refresh_token'

davenichols-DHLS commented 8 months ago

@deepakk799 - is this still needed?