Skip to content

Require token-based authentication #104

@wilkinsona

Description

@wilkinsona

When there's a token configured, it's used as the value of the password:

When deciding whether to configure authentication, there has to be a username:

if (StringUtils.hasLength(username)) {
builder = builder.basicAuthentication(username, password);
}

With token-based authentication, a username isn't necessary. Instead, we should present the token as part of an Authentication: Bearer header.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions