Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

摸索了一早上,终于搞明白怎么启动sts和adminui,简单记录一下: #174

Open
fsea opened this issue Sep 20, 2023 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@fsea
Copy link

fsea commented Sep 20, 2023

Question

文档里没有说明要如何启动服务,只好各种猜,总结一下启动过程

Relevant parts of the log file

如何下载本项目,及如何安装dotnet再不赘述。
为方便,建议使用MSSQL数据库。
1、修改配置:
Skoruba.Duende.IdentityServer.Admin、Skoruba.Duende.IdentityServer.Admin.Api、Skoruba.Duende.IdentityServer.STS.Identity项目中的appsettings.json文件中的ConnectionStrings,可以是同一个数据库。

2、启动Skoruba.Duende.IdentityServer.STS.Identity
Skoruba.Duende.IdentityServer.STS.Identity.exe --urls="https://localhost:44310"

3、启动Skoruba.Duende.IdentityServer.Admin.Api
Skoruba.Duende.IdentityServer.Admin.Api.exe --urls="https://localhost:44302"

4、启动Skoruba.Duende.IdentityServer.Admin
Skoruba.Duende.IdentityServer.Admin.exe --urls="https://localhost:44303"

为什么是44310、44302、44303?
因为在这三个项目的appsettings.json中指定了必需是这三个端口,如果要变更,则相应要修改配置文件中的端口。

最后,启动
https://localhost:44303/,可以看到管理员界面
https://localhost:44310/,可以看到客户端界面

管理员如何登录在项目中并没有说明,我也没有找到admin的密码到底是多少,有一个简单的办法就是自己注册一个新用户,然后在数据库里把Users表中的PasswordHas和SecurityStamp、ConcurrencyStamp修改为你新注册用户的对应值。

祝你好运,尽情的造吧。

@fsea fsea added the question Further information is requested label Sep 20, 2023
@skoruba
Copy link
Owner

skoruba commented Sep 25, 2023

hi, sorry, can you please translate it to English? :-)
thanks!

@DUWENINK
Copy link

hi, sorry, can you please translate it to English? :-) thanks!

Oh English Person Hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants