Monorepo for Tangled tangled.org

appview/oauth: support custom PLC directory #704

closed opened by boltless.me targeting master from sandboxed-atmosphere
  • inherit idResolver's PLC directory for oauth
  • override Client.Transport to support PDS served in localhost

Signed-off-by: Seongmin Lee git@boltless.me

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3m3sa6t262s22
+4 -4
Interdiff #7 #8
+4 -4
appview/oauth/oauth.go
··· 60 60 61 61 clientApp := oauth.NewClientApp(&oauthConfig, authStore) 62 62 clientApp.Dir = res.Directory() 63 - // allow non-public transports in dev mode 64 - if config.Core.Dev { 65 - clientApp.Resolver.Client.Transport = http.DefaultTransport 66 - } 67 63 68 64 return &OAuth{ 69 65 ClientApp: clientApp, ··· 78 74 79 75 clientApp := oauth.NewClientApp(&oauthConfig, authStore) 80 76 clientApp.Dir = res.Directory() 77 + // allow non-public transports in dev mode 78 + if config.Core.Dev { 79 + clientApp.Resolver.Client.Transport = http.DefaultTransport 80 + } 81 81 82 82 clientName := config.Core.AppviewName 83 83
appview/state/login.go

This file has not been changed.

History

9 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
appview/oauth: support local PDS
3/3 success
expand
expand 0 comments
closed without merging
1 commit
expand
appview/oauth: support local PDS
3/3 success
expand
expand 0 comments
1 commit
expand
appview/oauth: support local PDS
3/3 success
expand
expand 0 comments
1 commit
expand
appview/oauth: support local PDS
3/3 success
expand
expand 0 comments
1 commit
expand
appview/oauth: support custom PLC directory
3/3 success
expand
expand 0 comments
1 commit
expand
appview/oauth: support custom PLC directory
expand 0 comments
1 commit
expand
appview/oauth: support custom PLC directory
expand 0 comments
1 commit
expand
appview/oauth: support custom PLC directory
expand 0 comments
1 commit
expand
appview/oauth: support custom PLC directory
expand 0 comments