fix(ts): allow getToken
in getServerSideProps
#4659
Merged
getToken
in getServerSideProps
#4659