auth0 / node-auth0

Node.js client library for the Auth0 platform.
MIT License
633 stars 309 forks source link

How to create an OIDC connection with this library #982

Open tgillitzer opened 8 months ago

tgillitzer commented 8 months ago

Checklist

Description

I'm struggling to figure out how to create an enterprise connection with this library (or any type of connection that requires special configuration)

It seems the options properties are different based on the connection strategy. But this library doesn't seem to handle that.

Or am I missing it?

For instance, if I'm trying to make an OIDC connection, and I do so in the auth0 web console, I can see that in options, the discovery_url property is sent. But this library doesn't have a discovery URL, at least that that I can find.

Thanks

Reproduction

Create a Management Client. Call client.connections.create, passing the proper values to create an OIDC connection.

Additional context

No response

node-auth0 version

4.2.0

Node.js version

18.16.0