hello ! great tutorial, helped me a lot. but I believe you also need to allow https traffic for oauth flow in the ufw configuration. regards.