Porsche: disable forced token refresh (#9554)

This commit is contained in:
MarkusGH 2023-08-27 21:37:43 +02:00 • committed by GitHub
parent 57384e461b
commit 3428a7615a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ const (
OAuthURI = "https://identity.porsche.com"
ClientID = "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig"
maxTokenLifetime = time.Hour
maxTokenLifetime = 24 * time.Hour // avoid token refresh for the time being, as refresh currently always fails
)
// https://identity.porsche.com/.well-known/openid-configuration