Both "unauthorized" and "unauthorised" are correct spellings, but
"unauthorized" is the preferred spelling in American English, while "unauthorised" is the preferred spelling in British English.
So, the choice depends on which English dialect you are using.