Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the check connection status endpoint #655

Closed
tandrewnichols opened this issue Sep 21, 2021 · 3 comments · Fixed by #662
Closed

Support the check connection status endpoint #655

tandrewnichols opened this issue Sep 21, 2021 · 3 comments · Fixed by #662
Labels
enhancement An enhancement or improvement to the SDK that could not be otherwise categorized as a new feature

Comments

@tandrewnichols
Copy link

Describe the problem you'd like to have solved

The auth0 docs describe a "check connection status" endpoint for verifying whether a connection is live (see https://auth0.com/docs/api/management/v2#!/Connections/get_status). It looks this route is not supported as part of the connections section of the management client.

Describe the ideal solution

Ideally, you'd be able to do something like client.connections.checkStatus({ id }) or possibly (depends on rest-facade) client.connections.status.get({ id }).

Alternatives and current work-arounds

I thought about trying to hack around this using some of the underlying rest client features, but rest-facade doesn't (as far as I can tell) support additional pathing (which this would require). That aside, I think I have to write my own function using fetch and handling authentication manually.

Additional information, if any

None

@adamjmcgrath adamjmcgrath added the enhancement An enhancement or improvement to the SDK that could not be otherwise categorized as a new feature label Sep 27, 2021
@adamjmcgrath
Copy link
Contributor

Thanks for raising this @tandrewnichols - we'll take add something to our backlog

@tandrewnichols
Copy link
Author

@adamjmcgrath Just curious when this will be released. The hack we were trying to use doesn't work, so we're kind of blocked waiting for this.

@adamjmcgrath
Copy link
Contributor

Hi @tandrewnichols - this has been released in https://github.com/auth0/node-auth0/releases/tag/v2.37.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or improvement to the SDK that could not be otherwise categorized as a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants