Is there any document that clarifies how to add multiple ABP applications using the same authentication server? And is there an updated document on how to add the identity server module to the solution, in this document it says: "Identity Server is pre-installed in the startup templates. So, no need to manually install it.", and this is not correct.
The below image describes what I want to achieve.
- ABP application installed on a server (let us call it A).
- ABP application will be installed on other servers, will act as a client with his own UI, and will push data to server A using the authentication server installed on server A.
If there is any document that would help, I would be very grateful.
5 Answer(s)
-
0
Hi,
May I ask, what ABP version are you using?
-
0
Hi liangshiwei,
It is V6.0 and I am flexible to upgrade to V7.0.
-
0
Hi,
Is there any document that clarifies how to add multiple ABP applications using the same authentication server?
No such document, but you can check: https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice
And is there an updated document on how to add the identity server module to the solution, in this document it says: "Identity Server is pre-installed in the startup templates. So, no need to manually install it.", and this is not correct.
Yes, but since 6.0, the template uses openIddict instead of IdentityServer.
The documentation for microservice template, but some content is useful:
- https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice#authserver-configuration
You can create a new project with
--separate-auth-server
option. (client app)- You can safely delete the AuthServer project
- Update the
AuthServer
configuration in theappsettings.json
file ofHttpApi.Host
project - Update
oAuthConfig
configuration in theenvironment.ts
- Remove modules you don't need
-
0
Thank you for your response, Will give it a try then I will get back to you. Anyway I'm using the application template in both sides.
-
0
ok