SSO is forcibly creating the user as an admin

I just integrated SSO on an existing discourse site and I am getting this behavior.
The site is running using docker (discourse_docker repo)

I logged in to the container and access the postgres db, the user has admin flag as false in the db so it is not being updated by the “make_developer_admin” method

What else could be there ?