Monorepo for Tangled tangled.org

appview/oauth: overload oauth identity directory #719

merged opened by oppi.li targeting master from push-svxqqzsxxkor

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

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:qfpnj4og54vl56wngdriaxug/sh.tangled.repo.pull/3m46uqrswjx22
+4 -1
Diff #0
+4 -1
appview/oauth/oauth.go
··· 58 58 59 59 sessStore := sessions.NewCookieStore([]byte(config.Core.CookieSecret)) 60 60 61 + clientApp := oauth.NewClientApp(&oauthConfig, authStore) 62 + clientApp.Dir = res.Directory() 63 + 61 64 return &OAuth{ 62 - ClientApp: oauth.NewClientApp(&oauthConfig, authStore), 65 + ClientApp: clientApp, 63 66 Config: config, 64 67 SessStore: sessStore, 65 68 JwksUri: jwksUri,

History

1 round 0 comments
sign up or login to add to the discussion
oppi.li submitted #0
1 commit
expand
appview/oauth: overload oauth identity directory
3/3 success
expand
expand 0 comments
pull request successfully merged