OAKLAND, Calif. — Knicks forward Kevin Knox didn’t get to see his idol Kevin Durant, but he got a taste of what the NBA Finals is about.

Knox, the Knicks’ 2018 lottery pick, attended Friday’s Game 4 at frenzied Oracle Arena.

In a red hoodie, Knox sat in the 100-level section with fellow rookie Allonzo Trier and assistant coach Keith Smart, who lives in the Bay area. Knicks coach David Fizdale believes it is important for his young players to feel the playoff vibe.

Following the Raptors’ 105-92 victory over the Warriors, Knox said he learned from the experience.

“It’s definitely crazy — different from the regular season,’’ Knox told The Post. “I wanted to get up there and enjoy the game, see the atmosphere and the type of energy of a playoff game — just seeing the defensive intensity.”

Knicks point guard Kadeem Allen, who played on a two-way deal and impressed, was supposed to make it to the game but his flight got cancelled.

A source confirmed an SNY report center Mitchell Robinson will attend Game 5 in Toronto with assistant Pat Sullivan.

Meanwhile, Knox is headed back to New York this week to work with Fizdale again and may see Duke swingman RJ Barrett’s Knicks workout on Monday. The Knicks are zeroing in on Barrett with the third pick in the June 20 draft.

Knox, of Tampa, and Barrett both played high school ball in Florida.

“That’s my guy — I played against him a couple of times in high school,’’ Knox said. “He’s a great player. If I can get a chance to play with him, it would be a great opportunity.’’

There could be a scenario of Knox and Barrett also playing together in New Orleans if the Knicks become part of an Anthony Davis package.

“If we get the opportunity [to be teammates], I think we’d jell really well,’’ Knox said. “He’s a great player. He can pass well, score the ball well. I think we’d complement each other.’’

Knox worked out for a week with Fizdale at the Knicks’ Tarrytown campus last month. Knox said they didn’t just do drills on the court but watched film together.

Both the Raptors and Warriors flew to Toronto on Saturday and no media availability was staged.

The Raptors are 8-0 in the playoffs when Serge Ibaka scores 10 points or more. Ibaka had 20 in Game 4. … Golden State posted a higher shooting percentage and outrebounded Toronto Friday, but 19 turnovers cost them. In their three losses, the Warriors averaged 16.4 turnovers.

Playing with a broken collarbone that figured to have him out for the Finals, Warriors center Kevon Looney logged 10 points with six rebounds in 20 minutes after missing just one game.

“It was pretty tough,’’ he said of the pain. “The first half it was pretty good — the adrenaline was going. It was a little sore in the fourth. You’ve just got to block it out and do your job.’’