Skip to content

Missing Management API Functionality for Linking User Accounts (link_with) #269

@cschwalm

Description

@cschwalm

Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.

Thank you in advance for helping us to improve this library! Your attention to detail here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.

By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.

Missing Management API functionality for linking user accounts

The Java Auth0 API is missing the ability to link accounts using the "link_with" body parameter option. This is useful for when the client sends the secondary ID token to link with.

Describe the ideal solution

Override the linkIdentity method in UsersEntity.java to support the ability to supply a ID token instead of a connection and provider string. See: https://auth0.com/docs/api/management/v2#!/Users/post_identities

Alternatives and current work-arounds

The only known work around is to manual decode and verify the ID token and extract the ID to use with the existing method.

Additional context

https://auth0.com/docs/api/management/v2#!/Users/post_identities

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions