简体   繁体   English

如何使用 oclif 创建 OIDC 登录?

[英]How do I create an OIDC login using oclif?

Can anyone please supply an example of using OCLIF to do an OIDC login from the command line.谁能提供一个使用 OCLIF 从命令行进行 OIDC 登录的示例。 I think that the idea is that the login command should open a browser to login the page and spawn a server to capture authorization response.我认为这个想法是登录命令应该打开一个浏览器来登录页面并生成一个服务器来捕获授权响应。 I am struggling with the implementation though.不过,我正在为实施而苦苦挣扎。

@Ken, did you eventually find the solution? @Ken,你最终找到解决方案了吗? I have the exact problem我有确切的问题

For the time of the question, I don't know if you still need it but I ended up bumping into it and I implemented something in this repository that might help:在提出问题时,我不知道你是否还需要它,但我最终碰到了它,我在这个存储库中实现了一些可能有帮助的东西:

https://github.com/wnqueiroz/oclif-keycloak-oauth2-flows-sample https://github.com/wnqueiroz/oclif-keycloak-oauth2-flows-sample

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM