Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    matrixbot
    @matrixbot
    @matthew:matrix.org DMs are only supported on Slack in puppetting mode
    @matthew:matrix.org (i.e. where you hand a slack access token to the bridge and it logs in as you)
    @Half-Shot:half-shot.uk (and irc)
    @Half-Shot:half-shot.uk (and xmpp :p)
    @matthew:matrix.org (DMs are only supported on (Slack in puppetting mode)) to add parentheses for half-shot ;P
    @matthew:matrix.org gah, i got it wrong
    @matthew:matrix.org (DMs are only supported on Slack (in puppetting mode)) even :P
    @matthew:matrix.org bah, eitherway, to use DMs on slack, you need to be in puppeting mode.
    Eric Eastwood
    @MadLittleMods
    Instead of the whole new virtual user concept. The OAuth flow would fit nicely into our existing backend. Is there an issue to track?
    matrixbot
    @matrixbot
    @matthew:matrix.org the broken link on that GL issue is now fixed - https://matrix.org/jira/browse/BOTS-133 rides again
    @matthew:matrix.org although not quite as pretty as jira used to be
    @matthew:matrix.org but at least the data isn't lost, and the links are no longer borked
    @matthew:matrix.org so for oauth... i think we may need to better understand what would be authing with what.
    @matthew:matrix.org so we've thought about exposing an oauth2 flow from matrix homeservers so that other systems can authenticate as a user on Matrix with limited scope to do something on Matrix
    matrixbot
    @matrixbot
    @matthew:matrix.org (e.g. so you can give a bot limited access to your account to manipulate it)
    @matthew:matrix.org but i don't think this has ever been formally filed as an issue... and i'm failing to see how it would help with the virtual user concept
    @matthew:matrix.org so i think i might be crosswired; sorry
    Eric Eastwood
    @MadLittleMods

    I was more thinking the other way. Matrix users could sign into Gitter with their Matrix account.

    And the Matrix bridge could sign in to Gitter automagically

    Matthew Hodgson
    @ara4n
    ooh, i see
    interesting
    ara4n @ara4n will have a think
    matrixbot @Half-Shot:half-shot.uk suggests our OpenID endpoints?
    matrixbot
    @matrixbot
    @Half-Shot:half-shot.uk Which we use to authenticate random matrix users with integration managers currently.
    @Half-Shot:half-shot.uk where IMs are just services that provide bots/bridges, but aren't hooked up to any one matrix server and so would be in the same realm as an external service
    matrixbot
    @matrixbot
    @matthew:matrix.org i don't think that helps us
    @matthew:matrix.org oh, sorry, it might
    @matthew:matrix.org although it's not oauth2
    @matthew:matrix.org you're saying "hey, i want to log into an IM with my matrix creds" is the same as "i want to log into gitter with my matrix creds"
    @matthew:matrix.org but it's not like we're hosting an oauth2 flow currently
    matrixbot
    @matrixbot
    @Half-Shot:half-shot.uk Yep, I'm talking about a form of autopuppeting essentially. You would try to authenticate with your matrix creds at gitter, and then gitter treats that as a real user.
    @Half-Shot:half-shot.uk Similarly to how we pulled off the early experiments with bifrost
    @matthew:matrix.org yeah, that sounds like it's what Eric Eastwood (Gitter) is suggesting
    @matthew:matrix.org but i don't think the openid API is good enough for that
    @Half-Shot:half-shot.uk I have next to no idea how openId functions aside from passing tokens and eventually ending up with an identity.
    matrixbot
    @matrixbot
    @Half-Shot:half-shot.uk So that could work, if we had a way of asking the matrix user's client themselves to initate the openID session and then pass along that information to the bridge.
    @Half-Shot:half-shot.uk So that's not really a good soln
    Eric Eastwood
    @MadLittleMods

    Half-Shot: How does Matrix initialize the "virtual user" process? How does Matrix initialize the auto-puppeting process?

    It seems like those flows can also apply to logging into Gitter with Matrix OAuth. And since it is Matrix, there can be some assumptions about automagically knowing the credentials, etc

    matrixbot
    @matrixbot

    @Half-Shot:half-shot.uk Hm, so it could work but I'm trying work out how we could do it without manual steps from the user. Essentially when a matrix user interacts with the bridge for the first time, you would try to register the user on Gitter. Ideally using some kind of token which could uniquely identify the user rather than a user/pass combo.

    However, what I have essentially described here is our appservice API

    @Half-Shot:half-shot.uk So perhaps that is the best way. Some unique secret token shared between gitter and matrix that allows the bridge to register new users, but reuse the same token.
    Eric Eastwood
    @MadLittleMods

    nvm, would require some other requests before. I assume we can automate OAuth?

    Wondering about this, gitlab-org/gitter/webapp#533

    Half-Shot: Your shared secret suggestion could work. I just don't like adding a whole new unique snowflake flow to the webapp if we don't have to
    Michael R. Crusoe
    @mr-c
    Hello, thanks y'all for the great work! Is there an RSS/Atom feed, announcement email list, or forum thread I can turn on notifications for to get updates on the integration efforts?
    For example, I noticed "Gitter Integration (legacy)" bot/user joined #common-workflow-language_common-workflow-language:gitter.im
    Is that what set the icon and is syncing the room topic?
    Eric Eastwood
    @MadLittleMods

    @mr-c The best place to track is https://gitlab.com/groups/gitterHQ/-/epics/10

    The "Gitter Integration (legacy)" bot/user is from the migration script that is being run to cut everyone over to the new bridge. The old bot joins the new room to ensure the tombstone pointer to the new room works

    Michael R. Crusoe
    @mr-c
    @MadLittleMods thank you, that's very helpful!
    sideshowbarker
    @sideshowbarker:mozilla.org
    [m]
    Is there a way to have the sidebar messages from gitter “integrations” show up in the matrix room?
    2 replies
    I have https://gitter.im/validator/validator set up with the GitHub “integration”, and so I get messages from that in the gitter sidebar — but those don’t show up in the matrix room
    since matrix rooms don’t have any kind of standard sidebar part like gitter rooms do, I guess the only way to have the messages from integrations show up in the matrix room is by having them be like actual user messages posted directly to the room
    …which would be fine by me, if there’s some bot I can invite, or some other way to make that happen