auth0/node-auth0

How to create an OIDC connection with this library

tgillitzer opened this issue · 0 comments

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

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