URI module has not implemented auth yet? Not yet finished?

Hello.

I cannot get uri module to do authentication management with user: and password: key:value pairs.

It seems the underlying command does not have the auth info, so it cannot deal with the 401, so the higher level must deal with it. It doesn’t do that, so it looks like the uri module has not implemented it.

Any ETA when basic auth functionality will be implemented?

FAILING SNIPPET 1

  • name: Get License and Fail
    uri:
    url: http://127.0.0.1:{{ rt_port }}/{{ rt_route.licenses }}
    method: GET
    user: “{{ rt_admin.user }}”
    passwd: “{{ rt_admin.password }}”
    force_basic_auth: yes
    return_content: yes

ACTUAL RESULTS 1 (FAILURE)

With forced auth, it tries it immediately, then fails with 401. Without forced auth, tries without any auth, and just completely fails.

Using ngrep: