Google Auth Redis record format change...anyone know how to migrate?

36 views
Skip to first unread message

Stewart

unread,
Jul 11, 2021, 6:13:34 PM7/11/21
to CAS Community
Looks like formats for storing Google Authenticator records in Redis have changed somewhere between 6.1.x and 6.3.x.  Has anyone come up with a migration tool or method?

I've tried exporting via REST interface, but POSTing into the gauthCredentialRespository doesn't seem to work (or at least it seems to be blocked...says POST is not permitted). 

I'm sure one could dive into the code and compare versions and come up with a tool...but I'm hoping this is an issue someone else has already solved...anyone?

The only other message on here regarding this issue was someone else looking for the same (He Vincent).

Thanks!

He vincent

unread,
Jul 11, 2021, 9:16:43 PM7/11/21
to CAS Community, Stewart
I got same issue with gauth + mongodDB. from cas5.3 to cas 6.4.

Łukasz Woźniak

unread,
Jul 12, 2021, 1:24:19 AM7/12/21
to cas-...@apereo.org, Stewart
Hi,

I've got the same problem. I write new actuator endpoint and migrate the records.You need to resave them in new format (i put new machine name as username).



--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/e1fb4f56-fc53-4a9d-8766-4b687399f197n%40apereo.org.

He Vincent

unread,
Sep 16, 2021, 3:30:58 AM9/16/21
to CAS Community, Łukasz Woźniak, Stewart
Hi Lukasz
Can I known how to migrate gauth data from 5.3 to 6.3?

Reply all
Reply to author
Forward
0 new messages