Skip to content

Conversation

@ofr1tz
Copy link
Collaborator

@ofr1tz ofr1tz commented May 21, 2025

This enables signing in to MapSwipe web application with an OSM account, as is possible with the smartphone app for a while already.

In order to work properly, this implementation depends on mapswipe/python-mapswipe-workers#1031 being deployed.

The PR introduces a new environment variable VITE_OSM_OAUTH_REDIRECT_URI which should be set to https://auth.mapswipe.org/redirectweb or https://dev-auth.mapswipe.org/redirectweb for the dev instance respectively. If the variable is not set, the OSM sign in component will be hidden from the user.

@ofr1tz ofr1tz requested a review from Gigaszi May 21, 2025 14:05
Copy link
Collaborator

@Gigaszi Gigaszi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work

@ofr1tz ofr1tz merged commit 6dddebc into main May 26, 2025
@ofr1tz ofr1tz deleted the 17-enhancement-add-the-ability-to-sign-in-using-an-osm-account branch May 26, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enhancement: Add the Ability to Sign-in Using an OSM Account

4 participants