File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -334,9 +334,9 @@ class AccountManager {
334334 name : userData . name ,
335335 externalWebId : userData . externalWebId ,
336336 localAccountId : userData . localAccountId ,
337- webId : userData . webid || userData . webId || userData . externalWebId
337+ webId : userData . webid || userData . webId || userData . externalWebId ,
338+ idp : this . host . serverUri
338339 }
339-
340340 if ( userConfig . username ) {
341341 userConfig . username = userConfig . username . toLowerCase ( )
342342 }
@@ -360,6 +360,9 @@ class AccountManager {
360360 } else { // no username - derive it from web id
361361 if ( userConfig . externalWebId ) {
362362 userConfig . username = userConfig . externalWebId
363+
364+ // TODO find oidcIssuer from externalWebId
365+ // removed from idp https://github.com/solid/node-solid-server/pull/1566
363366 } else {
364367 userConfig . username = this . usernameFromWebId ( userConfig . webId )
365368 }
Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ class AccountTemplate {
7575 const substitutions = {
7676 name : userAccount . displayName ,
7777 webId : userAccount . webId ,
78- email : userAccount . email
78+ email : userAccount . email ,
79+ idp : userAccount . idp
7980 }
8081
8182 return substitutions
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ class UserAccount {
2424 this . email = options . email
2525 this . externalWebId = options . externalWebId
2626 this . localAccountId = options . localAccountId
27+ this . idp = options . idp
2728 }
2829
2930 /**
You can’t perform that action at this time.
0 commit comments