Hi!
First stay in Thailand for 29 days from Norway then to Vietnam. Then back again after that to Thailand again. All the stay in Thailand will not be over 30 days. It that ok no problem just check in the airport and just show the ticket to Vietnam. Ticket turn return Thailand more than 60 days but going out to Vietnam inside of this periode.
Thanks for the advice.