摘要:1. 启动 keycloak: 下载keycloak-20.0.3.zip, windows 版本。 2. kc.bat start-dev, 本地可以打开 localhost:8080 3.启动 一个 openId connect 服务。 这里用 identity: https://github. 阅读全文
ELK 连接ldap
2023-02-13 11:08 by qgbo, 226 阅读, 0 推荐, 收藏,
摘要:1. kibana 登录,连接 ldap, 最后还需要配ES: 这个是怎么配的:https://www.elastic.co/guide/en/elasticsearch/reference/7.17/built-in-users.html 但是 https://www.elastic.co/cn/ 阅读全文
keycloak user ferdera
2023-02-04 12:55 by qgbo, 25 阅读, 0 推荐, 收藏,
摘要:we can store user info into other user storage. the build-in provider is LADP and kerberos. but they are all very dificult. how the use data can be st 阅读全文
Keycloak themes
2023-01-17 18:09 by qgbo, 92 阅读, 0 推荐, 收藏,
摘要:start: docker run -p 8080:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:20.0.3 start-dev Keycloak has 3 them 阅读全文
Oath flow 2
2023-01-17 07:19 by qgbo, 14 阅读, 0 推荐, 收藏,
摘要:Client Credential : give 3rd party access to API on behalf of itself (service account) authrization code: 纯前端,可以无Client_Secret, 用PKCE。但是不管怎么操作,token 要 阅读全文
Oauth flow 1
2023-01-16 12:48 by qgbo, 733 阅读, 0 推荐, 收藏,
摘要:Implicit flow: 客户端组织 一个URL (下面是decodeURIComponent 解码过的 ):http://authServer/keycloak/realms/dev/protocol/openid-connect/auth?response_type=id_token tok 阅读全文
离线安装dotnet tool
2023-01-10 19:10 by qgbo, 411 阅读, 0 推荐, 收藏,
摘要:以安装dotnet-counters为例: 使用 https://www.nuget.org/packages/dotnet-counters/找到合适版本点击Download package 下载离线包建立文件夹 cli,把离线包放进去在文件夹外,运行命令 dotnet tool install 阅读全文
asp.netcore Authentication signOut
2023-01-05 17:54 by qgbo, 38 阅读, 0 推荐, 收藏,
摘要:.net 项目下面的写法会 logout: public class LogoutController : ControllerBase { public IActionResult Index() { return SignOut("Cookies", "OpenIdConnect"); } } 阅读全文
asp.netcore Authentication, schema
2022-12-28 14:29 by qgbo, 405 阅读, 0 推荐, 收藏,
摘要:1. code like this will report error: builder.Services.AddAuthentication("dd").AddCookie("ddd"); builder.Services.AddAuthorization(); InvalidOperationE 阅读全文
asp.netcore Authentication
2022-12-21 14:23 by qgbo, 21 阅读, 0 推荐, 收藏,
摘要:Authentication is for getting the user infomation from cookie/token.. We use Authentication like this: builder.Services.AddAuthentication("cookie") .A 阅读全文
浙公网安备 33010602011771号