איבדתי את זכויות המנהל שלי בגלל הגדרת SSO לא נכונה

That sounds wrong, using rake admin:create to grant privileges should be permanent. Are you sure they were not an admin after logging in?