Skip to content

Implement Login with OSM #13

Description

@susrisha

The application has a login to be done via OSM. OSM implements oAuth mechanism that enables users to login.

Here are the example project details:

Client ID: H9GQPRVvceXdxL8SRRCJUBer3-Hki-42B1ZbbbUHiTw
Client Secret: jAiWZuzPkGqkqCKnsb77ZqwMdTCZGZ4MXwLoYiFhP7w
Redirect URI: goinfogame://

use the above and try signing in.

Need to know:

  • Base URL for authentication (oAuth base URL) -> This can be got from Android app.

outcome:

  • Module with login implemented for OSM.
  • Access token will be stored for the user along with user information (email and name)

Refernce Wiki link:
https://wiki.openstreetmap.org/wiki/OAuth

Auth URL : https://www.openstreetmap.org/oauth2/authorize
Token URL: https://www.openstreetmap.org/oauth2/token
Scope: write_notes read_prefs write_api write_diary

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions