Monorepo for Tangled tangled.org

appview/oauth: overload oauth identity directory

we invalidate resolutions in our ingester, but the oauth SDK seems to
bring its own directory! this changeset shares them instead.

thanks to nel.pet <did:plc:h5wsnqetncv6lu2weom35lg2> for the hint.

Signed-off-by: oppiliappan <me@oppi.li>

oppi.li 6fee6cd6 3f65e302

verified
Changed files
+4 -1
appview
oauth
+4 -1
appview/oauth/oauth.go
··· 58 59 sessStore := sessions.NewCookieStore([]byte(config.Core.CookieSecret)) 60 61 return &OAuth{ 62 - ClientApp: oauth.NewClientApp(&oauthConfig, authStore), 63 Config: config, 64 SessStore: sessStore, 65 JwksUri: jwksUri,
··· 58 59 sessStore := sessions.NewCookieStore([]byte(config.Core.CookieSecret)) 60 61 + clientApp := oauth.NewClientApp(&oauthConfig, authStore) 62 + clientApp.Dir = res.Directory() 63 + 64 return &OAuth{ 65 + ClientApp: clientApp, 66 Config: config, 67 SessStore: sessStore, 68 JwksUri: jwksUri,