Skip to content

Proxy support for Okta DPoP. #1613

@Sw1m1k

Description

@Sw1m1k

Describe the feature request?

Hello,

I am exploring the possibility of using a reverse proxy in front of Okta for additional security. When DPoP is enabled, OAuth client generate DPoP proofs with the 'htu' claim set to the issuer URL. However, Okta validates the 'htu' claim against its own authorization server URL and because the 'htu' value is the proxy URL and not the Okta authorization server URL, DPoP validation fails.

Would it be possible to enhance okta-auth-js library to support proxy scenarios, where the htu claim may be populated directly in config?

Happy to hear any suggestions.

Thank You.

New or Affected Resource(s)

Okta DPoP support with a proxy.

Provide a documentation link

No response

Additional Information?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions