Skip to content

Fix @types/auth0 inconsistencies with this library #572

@vicary

Description

@vicary

Describe the problem

Relocated from community forum (53190).

From earlier technical support enquiries I know that the SDK method ManagementClient#passwordGrant() in fact takes an undocumented second argument { forwardedFor } to sent the Auth0-Forwarded-For header. Since server-side authentication requires the option to prevent blocking, I would like to know if there are plans to add the definition in the official SDK documentation?

The TypeScript/DefinitelyTyped community is confused about this and I think we need official comments to move on.

What was the expected behavior?

https://auth0.github.io/node-auth0 and @types/auth0 should reflects the implemented features and actual behaviour of this repo.

Reproduction

npm install @types/auth0

Environment

  • Version of this library used: 2.20.12
  • Which framework are you using, if applicable: Serverless
  • Other modules/plugins/libraries that might be involved: DefinitelyTyped, TypeScript
  • Any other relevant information you think would be useful: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn enhancement or improvement to the SDK that could not be otherwise categorized as a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions