Smalyshev added a comment.
Moving from email here: > Does the Query Service needs to, in any way, act on the UrlShortener API as the user who is currently logged-in? Trusted or not, that Well, that was kinda my question from the start. Right now, WDQS UI does not know anything about any users, so if we could keep it this way, it'd be fine with me. That said, I can see a value in ability of the user to log in and then track the short URLs for the query they are creating. So if it is not too much trouble, may be a nice addition. That said, it is in no way required for the URL shortening in the UI to work, on the contrary - it is currently not a supported mode and will require additional code to support. > is logged-in on the main domain. Given that serving app-tokens to the client-side javascript of the query service would be a problem, this means you'll probably want to make that API request server-side instead. Thus leaving two options: WDQS UI does not have server side, so that definitely would be a problem. > - Use the API with auth, as an OAuth user with its credentials and the request made server-side, possibly exposed indirecrtly via wikidata-query's own API. WDQS UI does not have server side, as I mentioned. While we did plan to add OAuth capabilities for Blazegraph as a module for other reasons (see T179879 <https://phabricator.wikimedia.org/T179879>) it is a very long-term plan and is not something planned for right now. TASK DETAIL https://phabricator.wikimedia.org/T218568 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Smalyshev Cc: Smalyshev, Bawolff, Aklapper, Lucas_Werkmeister_WMDE, alaa_wmde, ET4Eva, Nandana, sbassett, Lahi, Gq86, Darkminds3113, GoranSMilovanovic, Jayprakash12345, QZanden, EBjune, HJiang-WMF, Zoranzoki21, merbst, LawExplorer, Avner, DatGuy, Devwaker, Niklitov, Gehel, _jensen, Urbanecm, rosalieper, JEumerus, Jonas, Ananthsubray, FloNight, Xmlizer, dpatrick, Tulsi_Bhagat, Wong128hk, Luke081515, SimmeD, jkroll, Wikidata-bugs, Jdouglas, Snowolf, aude, Tobias1984, GWicke, Dcljr, Stype_and_Co.-WMF, Manybubbles, Jalexander, Parent5446, Anomie, Grunny, Jdforrester-WMF, MaxSem, csteipp, Matanya, Mbch331, Rxy, Jay8g, Krenair, Legoktm, chasemp
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
