clean up the token exchange code sample