Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Add option to bypass login #4

Open
spwoodcock opened this issue Sep 9, 2024 · 3 comments
Open

Add option to bypass login #4

spwoodcock opened this issue Sep 9, 2024 · 3 comments

Comments

@spwoodcock
Copy link
Member

We need one of either:

  • Use official OSM login accounts, to remove the signup step here.

  • Or a way to bypass login entirely so people can just map (although not attributed, this would make setting up an instance for e2e very easy).

@emi420
Copy link

emi420 commented Sep 9, 2024

Or both? like we have on FMTM, where you can login with your OSM account or create a temporary account

@spwoodcock
Copy link
Member Author

spwoodcock commented Sep 10, 2024

Yeah that's a good idea in an ideal scenario 👍

But I would imagine that technically it's a lot easier to disable login on the osm instance, than implementing a custom auth method (as granting oauth tokens via doorkeeper requires an oauth flow of some sort).

Let's assess how feasible it is when digging into it 😃

Note

One option I can think of immediately is pulling the auth out to the proxy layer (nginx),
then setting a single service account for OSM on the Ruby server.

@spwoodcock
Copy link
Member Author

Making a note for later:

  • Having login requires an SMTP server.
  • The current setup causes emails to bounce frequently, due to rejection from various server / no auth setup.
  • We can switch to the hotosmmail.org domain as this is dkim certified and will not be rejected / bounce, however the solution is only temporary and not generic.

Future solution:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants