diff --git a/appview/oauth/oauth.go b/appview/oauth/oauth.go --- a/appview/oauth/oauth.go +++ b/appview/oauth/oauth.go @@ -58,8 +58,11 @@ } sessStore := sessions.NewCookieStore([]byte(config.Core.CookieSecret)) + clientApp := oauth.NewClientApp(&oauthConfig, authStore) + clientApp.Dir = res.Directory() + return &OAuth{ - ClientApp: oauth.NewClientApp(&oauthConfig, authStore), + ClientApp: clientApp, Config: config, SessStore: sessStore, JwksUri: jwksUri,