Home > Net > IdentityServer4 how to implement the associated tripartite account
IdentityServer4 how to implement the associated tripartite account
Time:09-17
I like WeChat public number obtained by silently to the user's UnionId OpenId
With what method can let my identityServer system to add a user? And associated with the UnionId/OpenId
Is only to write their own a set of associations, to create a new table to implement?
There are other better way?
Excuse me is there any best practice
Summarize the problem has 2: 1. The best practices for realization of identityServer4 tripartite account associated
2. Under the condition of no user login page appears, how to make identityServer elegance to create a user and associated UnionId/OpenId
CodePudding user response:
Yourself that you discuss the line also is not necessarily to be the only answer
CodePudding user response:
I did WeChat and local users association is to establish a mapping table, so to establish a new table is bound to, through an id check local system id, agree, login, but I did that not use identityService4, but the old mechanism of the session