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

Clarification on List Enrollments Behavior #526

Open
shakeelrao opened this issue Mar 13, 2025 · 0 comments
Open

Clarification on List Enrollments Behavior #526

shakeelrao opened this issue Mar 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@shakeelrao
Copy link

shakeelrao commented Mar 13, 2025

Description

Hi there,

I noticed that Enrollments() returns []*UserEnrollment and includes the comment:

Enrollments retrieves all Guardian enrollments for a user.

However, according to the official documentation, this API is meant to retrieve the first multi-factor authentication enrollment that a specific user has confirmed.

This discrepancy was previously discussed in PR #110, which was ultimately closed. A related community post also highlights this limitation.

Is there a correct way to retrieve all enrollments for a user? I came across ListAuthenticationMethods(), which seems similar, but I’m not sure if it’s the recommended alternative...

Auth0 Go SDK version

latest

@shakeelrao shakeelrao added the bug Something isn't working label Mar 13, 2025
@shakeelrao shakeelrao changed the title List All MFA Enrollments for a User Clarification on List Enrollments Behavior Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant