capture params and retrieve auth token in console sample