Updated oauth with public key