Open Cp0204 opened 1 year ago
Is your feature request related to a problem? Please describe.
很多应用的WebUI认证方式都是HTTP基本认证(Basic Authentication),例如:Syncthing、frp等,不能通过点击应用一键跳转登录。
The WebUI authentication method of many applications is HTTP Basic Authentication, for example: Syncthing, frp, etc., cannot be applied by clicking the button Jump to login.
Describe the solution you'd like
增加Basic Authentication字段,拼合形如 http://admin:passwd@host:post 的链接。
http://admin:passwd@host:post
Add the Basic Authentication field and combine the links like http://admin:passwd@host:post.
Describe alternatives you've considered
WebUI 整段用提供变量,自定义拼合的方式。 例如:
$host$
http://admin:passwd@$host$:1234/index
http://admin:passwd@casaos.baidu.com:1234/index
The entire section of WebUI uses variables and custom stitching. E.g: Provide the variable $host$, assuming that the current access to CasaOS host=casaos.baidu.com WebUI has only one field, fill in http://admin:passwd@$host$:1234/index Click the APP icon and jump to http://admin:passwd@casaos.baidu.com:1234/index If the WebUI field is left blank, the APP cannot be clicked/no response.
The entire section of WebUI uses variables and custom stitching. E.g:
Additional context
这是一个很棒的需求。 建议使用英文呀~
This is a great requirement
这是一个很棒的需求。 建议使用英文呀~ This is a great requirement
好嘞,英文小学水平,恐怕就表达不清楚了 T T; 机翻了一下,见谅哈哈哈哈。
Is your feature request related to a problem? Please describe.
很多应用的WebUI认证方式都是HTTP基本认证(Basic Authentication),例如:Syncthing、frp等,不能通过点击应用一键跳转登录。
Describe the solution you'd like
增加Basic Authentication字段,拼合形如
http://admin:passwd@host:post
的链接。Describe alternatives you've considered
WebUI 整段用提供变量,自定义拼合的方式。 例如:
$host$
,假设当前访问 CasaOS 的 host=casaos.baidu.comhttp://admin:passwd@$host$:1234/index
http://admin:passwd@casaos.baidu.com:1234/index
Additional context