You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Description
Hi there,
I noticed that Enrollments() returns
[]*UserEnrollment
and includes the comment: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
The text was updated successfully, but these errors were encountered: