-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share login with self-hosted iD #1910
Comments
As a first idea it came up to share the oauth key received through the Tasking Manager login with the self-hosted iD through private channels (e.g. docker network). |
Some more information on this idea:
|
I know there has been significant progress here. @JorgeMartinezG can you please share the status? |
Update: In order to use Tasking Manager oauth credentials in id, we must pass to the frontend from the server (oauth consumers and tokens) the required keys to be rendered within the react component. The component must have iD embedded and call the preauth option when the it is mounted: https://github.com/openstreetmap/iD/blob/7b7a42cf762be970252a712044f4aedaa1bdb756/modules/core/context.js#L99 Note: For now, in this branch 12ee81c id is served as a static folder |
This looks good so far. We are implementing other parts on iD in the meantime. This can be closed. |
After supporting iD to be self-hosted (#1909) in a next step it is good to reduce the logins needed to get started with mapping in order to provide a seamingless experience to the users.
After logging into the Tasking Manager a user should be able to start mapping on the embedded iD without the need to login the editor again.
The text was updated successfully, but these errors were encountered: