Re: [openstreetmap/openstreetmap-website] blocks with needs_view flag not shown when user does oauth authorisation (for example login into an OSM editor) (Issue #5490)

2025-01-20 Thread Matija Nalis via rails-dev
> My workarounds: Send the user to the login page, so they actually log in. We should both perhaps use more clear language. IIUC you seem to take _"log in"_ to mean exclusively to _"go to https://www.openstreetmap.org/login webpage and enter username/password there"_, while I intended it to mean

Re: [openstreetmap/openstreetmap-website] blocks with needs_view flag not shown when user does oauth authorisation (for example login into an OSM editor) (Issue #5490)

2025-01-13 Thread Matija Nalis via rails-dev
> - Sending the user to /login?referer=%2Fuser%2Fusername%2Fblocks is a > workaround that somewhat works for non-needs_view blocks too and is not > affected by GDPR. (*) > - Don't care about non-needs_view blocks and want a simpler workaround? Send > users to /login. (**) Hmmm, does doing eith

Re: [openstreetmap/openstreetmap-website] blocks with needs_view flag not shown when user does oauth authorisation (for example login into an OSM editor) (Issue #5490)

2025-01-12 Thread Matija Nalis via rails-dev
> If there's an api to check whether the user is blocked, you need a valid > token to access that api. If blocking invalidates the token, you're not > going to have a valid token to access that api. Makes sense. That is why my suggestion implied that such a new API call is maybe not needed at

Re: [openstreetmap/openstreetmap-website] blocks with needs_view flag not shown when user does oauth authorisation (for example login into an OSM editor) (Issue #5490)

2025-01-12 Thread Matija Nalis via rails-dev
>Sending the user to reauthorize again and again when they've already seen a >block is not going to help with anything. Perhaps I'm misunderstanding, but why would that _"again and again"_ reauthorisation need to happen? My suggestion was _not_ about invalidating tokens every time a user logs i

Re: [openstreetmap/openstreetmap-website] blocks with needs_view flag not shown when user does oauth authorisation (for example login into an OSM editor) (Issue #5490)

2025-01-10 Thread Matija Nalis via rails-dev
> but for clients that already have a token and are just hitting the API > there's no way we can magically display a message. Wouldn't be possible that when a user is blocked, their tokens are invalidated, so they are forced to re-login? -- Reply to this email directly or view it on GitHub: h

Re: [openstreetmap/openstreetmap-website] Display a link for mapillary keys (#986)

2024-11-09 Thread Matija Nalis via rails-dev
- ref: https://github.com/openstreetmap/openstreetmap-website/issues/5200 -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/986#issuecomment-2466428044 You are receiving this because you are subscribed to this thread. Message ID: