
Hi
I am using Client credential authentication for Admin API
unfortunately, my access token expiry time is 600 seconds.
How to increase the expiry time?
I am not getting any refresh token for "grant_type": "client_credentials"
is that available ony for "grant_type": "password" ?
Answers
Hallo,
mich würde auch sehr interessieren ob man die Lebenszeit des Tokens von lediglich 600 Sekunden verlängern kann - wenn ja wie?
@Moritz Naczenski : Vielleicht kannst Du Dich mal zu dem Thema äußern?
Kann man die Lebenszeit des Tokens in vendor/shopware/platform/src/Core/Framework/Api/EventListener/Authentication/ApiAuthenticationListener.php verlängern.
suche nach :
und ändere die PT10M mit gewünschten Lebenszeit
Beispiele:
P1Y 1 year
P1M 1 month
P1D 1 day
P30D 30 days
PT1H 1 hour
PT5M 5 minutes
PT35S 35 seconds