How To Generate Bearer Token Using Python