Replies: 1 comment
-
While investigating this, it appears to not load the paginatedlist correctly because the authentication events api returned json contains: So, I tried modifying the Account.get_authentication_events() to include _root="events", which fixes the original error, but it then seems to hang. Another potential issue is that the headers for the authentication events has a weird "next" page link, which is why I believe it's not able to load the authentication events properly: https://redacted.instructure.com/api/v1/audit/authentication/accounts/1?page=first&per_page=10; rel="current",https://redacted.instructure.com/api/v1/audit/authentication/accounts/1?page=bookmark:IjIwMjUtMDgtMjggMTE6MzI6MjggLTA3MDAi&per_page=10; rel="next",https://redacted.instructure.com/api/v1/audit/authentication/accounts/1?page=first&per_page=10; rel="first" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to get all authentication events for a term and inspect the authentication type (saml, canvas).
"events" should be a PaginatedList of type AuthenticationEvent.
I try to iterate through the PaginatedList, but it hits an error at "for event in events:"
Beta Was this translation helpful? Give feedback.
All reactions