timwaters / mapwarper

free open source public map georeferencer, georectifier and warper
http://mapwarper.net
MIT License
193 stars 80 forks source link

Can't login with OSM account #280

Open benoit-dd opened 2 weeks ago

benoit-dd commented 2 weeks ago

Hi!

I'm unable to connect to https://www.mapwarper.net/u/sign_in with an OSM account, I asked on the french osm forum and other users have the same problem :https://forum.openstreetmap.fr/t/probleme-connexion-mapwarper-avec-compte-osm/25171/2

when I try, it opens a page with the following address: https://www.openstreetmap.org/oauth2/authorize?client_id=3j31OwH4ptOg2Wh_t8Uhcm01D3q9JNiccJ5g7vBAiUk&redirect_uri=https%3A%2F%2Fwww.mapwarper.net%2Fu%2Fauth%2Fosm_oauth2%2Fcallback&response_type=code&scope=read_prefs&state=f3240c0c5ec7e76ec36d9856ab1fab3d72541b241c66bab6

and the message (in french): "Une erreur s’est produite / L’URI de redirection n’est pas valide."

Not sure if linked with #276

timwaters commented 2 weeks ago

Hi,

I'm afk at the moment,

I wonder, could you try to log in via https://mapwarper.net instead of https://www.mapwarper.net ? That should help me narrow things down.

Thanks!

On Fri, 5 Jul 2024 at 11:06, benoit-dd @.***> wrote:

Hi!

I'm unable to connect to https://www.mapwarper.net/u/sign_in with an OSM account, I asked on the french osm forum and other users have the same problem : https://forum.openstreetmap.fr/t/probleme-connexion-mapwarper-avec-compte-osm/25171/2

when I try, it opens a page with the following address: https://www.openstreetmap.org/oauth2/authorize?client_id=3j31OwH4ptOg2Wh_t8Uhcm01D3q9JNiccJ5g7vBAiUk&redirect_uri=https%3A%2F%2Fwww.mapwarper.net%2Fu%2Fauth%2Fosm_oauth2%2Fcallback&response_type=code&scope=read_prefs&state=f3240c0c5ec7e76ec36d9856ab1fab3d72541b241c66bab6

and the message (in french): "Une erreur s’est produite / L’URI de redirection n’est pas valide."

Not sure if linked with #276 https://github.com/timwaters/mapwarper/issues/276

— Reply to this email directly, view it on GitHub https://github.com/timwaters/mapwarper/issues/280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAL6LNXJWCZFR57SSV5IYDZKZV2XAVCNFSM6AAAAABKM5DPDOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TEMRZGAZDKMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

benoit-dd commented 1 week ago

Yes, it works fine with https://mapwarper.net/ !

timwaters commented 1 week ago

Thank you for your help! I have been able to change the OAuth application on osm and added the www. subdomain so you should be able to use both now.