Nice, it's a approach, good to hear that you can finish the game, I had a lot of doubts about the difficulty and the confusion caused.
(caution, SPOILER to other players)
The "logic" is that the 8 portals have the 8 parts of the background music playing when you gets closer. The game shuffle the solution [doors: "up_1", "up_2", "right_1", "right_2", "down_2", "down_1", "left_2, "left_1"] and each music stream part [solution: 1, 2, 3, 4, 5, 6, 7, 8]
So, for example, if the solution is randomized to: [5, 3, 8, 7, 1, 4, 2, 6], the door's order will be: ["down_2", "right_1", "left_1" ...] and so on
You have to listen carefully to the music playing in background and identify each of the 8 parts
Thank you so much for playing! ❤