What I heard was beaver gland product (think it’s anal glands) was used in flavoring the “sour” part in some flavors of candy, like strawberry candy flavoring way, way back.
Probably when they had an excess of dead beaver remains from making hats. “Well, what can we do with this?”