Skip to content

Commit

Permalink
添加demo应该开启的权限说明
Browse files Browse the repository at this point in the history
  • Loading branch information
Daylily-Zeleen committed Apr 24, 2024
1 parent 2aa36cb commit 2c84488
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ This project is cost a lot of time and effort, if it can help you, please [buy m
3. Prepare two Epic accounts; or use one Epic Account and use two login way at the same time which describe below.
4. Run project with two instances to login:
1. Set "External Credential Type" to "EPIC":
i. Set "Login Credential Type" to "AccountPortal", keep "Id" and "Token" empty, click "Login" button an jump to external browser to request authentification.
i. Set "Login Credential Type" to "AccountPortal":
1. You should ensure your EPIC Account is added to your organization member, and hava a approprite role.
2. The permissions of your application in Epic Account Services should enable "Basic Profile", "Online Presence", "Friend", **but "Country" should keep disabled**.
Keep "Id" and "Token" empty, click "Login" button an jump to external browser to request authentification.
ii. Set "Login Credential Type" to "Developer",you need to login your Epic Accounts with token in **DevAuthTool** which in the "Tools" folder of EOS SDK.
- Set "Id" to the address of **DevAuthTool**,for example: `localhost:8081`
- Set "Token" to the token of your account which is defined in **DevAuthTool**.
Expand Down
5 changes: 4 additions & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@
3. 准备两个 Epic 账号;或者使用一个 Epic 账号并同时使用下述的两种登陆方式。
4. 运行项目,启动两个实例,进行登陆。
1. External Credential Type 使用 EPIC:
i. Login Credential Type 使用 AccountPortal 方式进行登陆,不需要填写 Id 与 Token,直接登陆将跳转网页端请求登陆。
i. Login Credential Type 使用 AccountPortal 方式进行登陆:
1. 要登陆的epic账号需要添加到你的开发者门户的组织里并赋予了一个合适的角色。
2. EPIC账号服务开启的许可需要有"Basic Profile", "Online Presence", "Friend", **注意"Country"必须保持禁用**
不需要填写 Id 与 Token,直接登陆将跳转网页端请求登陆。
ii. Login Credential Type 使用 Developer 进行登陆,你需要使用 EOS SDK 的 Tools 文件夹中的 DevAuthTool 登陆你的账号并添加Token。
- Id 为 DevAuthTool 启动时绑定的本地址与端口,如 `localhost:8081`
- Token 为你为你的账号设置的 Token。
Expand Down
2 changes: 1 addition & 1 deletion build_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = "v0.1.4"
version = "v0.1.5-dev"

print("BUILD_VERSION=" + version)

0 comments on commit 2c84488

Please sign in to comment.