IG auth server side