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

CodePudding user response:

refer to the second floor she would play the soy sauce response:
WeChat and I did 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, just log in, but that is not I do use identityService4, but the old session mechanism


Our existing system is that this way, but hope I can use identityService4 for authentication, so I don't know if there was any default configuration or best practice, come and ask to avoid detours

CodePudding user response:

Don't sink yourself that you talk more

CodePudding user response:

Before me, all right openid on database,
Did not use id4, like 4 years ago,

CodePudding user response:

Don't sink yourself that you talk more

CodePudding user response:

Recently, is also looking at deblokt tutorial inside write very clear, in externalcontroller, judging if the external login the claim can't find in the user table, call autoprovisionuser method to generate a new user,
  • Related