I lost my admin rights due to misconfigured SSO

When running the rake admin:create task, the user you create should be granted admin status if you enter Y to the “Do you want to grant Admin privileges to this account?” question.

One thing that could cause the user to lose admin status after logging back in would be if they are logging in via SSO and you are passing the admin SSO parameter with its value set to false.