Skip to content

[feature request] 增加一种基于 Authorization 头的用户认证方式,便于持续集成 #59

@baxtergu

Description

@baxtergu

建议在 honeycomb-console 中增加一种通过 token 验证方式的接口访问途径,token 中可以获取用户信息走通现有的流程。在创建用户的时候生成这个验证串。

翻了下代码,现版本的 publish 接口是要走 auth 中间件的。如果要做持续集成就只能用 puppeteer 来模拟浏览器行为登录,比较麻烦。当前版本下开发环境做持续集成只能绕过 honeycomb-console,直接通过 honeycomb-server callremote 的 sign 方式访问接口来发布应用,会造成 honeycomb-server 状态与 honeycomb-console 数据库状态不同步。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions