Token type should be determined by the token response and not hard coded.  Token request returns the token type, which should be used instead of hard coding the Bearer token type here.