Skip to content

Okta backend error after upgrade to vault 1.4 #8779

@moskitone

Description

@moskitone

Describe the bug
Seems like okta backend is broken after #8143

* Okta auth failed: Post https://***.okta.comauthn/factors/*****/verify: dial tcp: lookup ***.okta.comauthn on 10.250.244.10:53: no such host

It looks like smth wrong with ulr. There is no "/" in path https://github.com/hashicorp/vault/blob/master/builtin/credential/okta/backend.go#L183
but here is
https://github.com/hashicorp/vault/blob/master/builtin/credential/okta/backend.go#L103

To Reproduce
Steps to reproduce the behavior:

  1. Run vault login -method=okta username=*** password=***
  2. See error

Environment:

  • Vault Server Version (retrieve with 1.4):

Additional context
Add any other context about the problem here.
This behaviour is only in vault 1.4
Vault 1.3.4 works perfect

Metadata

Metadata

Assignees

No one assigned

    Labels

    auth/oktabugUsed to indicate a potential bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions