example authorization on the outside server - SolidJS