Use custom domain for flash application with authenticated Google login

I created a flash web application that uses a Google authenticated login to authenticate users. I am currently running it on localhost 127.0.0.1:5000, but I would like to give it my own domain name that I would like to buy.

I used to use custom domains with Flask applications, I'm just not sure how to do this with this. I am confused about what I will do with my oauth callback.

My review request is set to http://127.0.0.1:5000/authorizedin my Google oauth client credentials. I do not think that it would be as simple as launching an application on 0.0.0.0.

I will need to be able to map jar routes to a domain. ie have access to www.mydomain.com/authorized.

0
source share
1 answer

I was able to solve it now!

I looked at my DNS settings for my domain and pointed the DNS A record to the IP address where my jar application is running.

I used to use redirection in a domain that didn't work.

0
source

Source: https://habr.com/ru/post/1660882/


All Articles