last day (1640 days later) » 

12:39
171
Q: Support for OpenID ends on July 1, 2018

Joe FriendStack Overflow was an early and strong supporter of OpenID. We built our sign up/log in flow around it. We were idealistic and had high hopes, but these hopes weren't realized. Over the years people have wondered if OpenID is dead. We've had to remove support as OpenID providers pulled support or...

13:07
I'm joining in, we got multiple bot's in SOBotics running chatexchange any solutions to this issue are welcome github.com/Tunaki/chatexchange/issues/6 specially considering that Tunaki is not very active anymore
 
1 hour later…
14:29
(making myself pingable here)
o/
IIRC there was a conversation in CHQ a while back about the possibility of a bot creating a stackapps profile then just always logging in with that.
 
5 hours later…
19:42
I think Sam might have solved the issue for C# chatexchange.
Sam
Sam
Yeah, I've just switched to directly logging in with the account's email/pwd for each community.
19:58
@Sam Do you have any code for that? :)
He is posting an answer in SOBotics channel, when done if he agree we can migrate it here
My bot does have a pure Stack Exchange account with email/pwd, but I noticed I had a reference to openid.stackexchange.com in my code
Are you using @NobodyNada lib?
I have Java code, not using any lib
Oh your not using Tunas chatexchange, shame on you :D
Just for info with java bots we use this github.com/Tunaki/chatexchange but Tuna is not very active anymore so we need to fix that
20:09
U fix Tuna?
Let's start phishing with some luck... we will find him
@PetterFriberg Duga was written before TunaLib, I remember speaking to Tuna about Duga, so Simon couldn't have used that :p
@PetterFriberg I sort of built my own library I guess :P
Tuna did mention that Duga didn't have an explicit library, so we couldn't be using that.
@BhargavRao I split it up and created a duga-core part a while ago which can be used as a library
20:20
Interesting, do you have a link to that?
Link, yes. Documentation, no.
Example usage can be seen here: github.com/Zomis/factorio-posts/blob/master/…
Sam
Sam
@SimonForsberg Yeah. The library is still far from complete though.
That's using Groovy and Ivy though, but Maven works as well.
Nice, I'll take a look at that, thanks!
@Sam As every library :)
Sam
Sam
20:23
:)
@BhargavRao And submit a PR to fix the openID thing? :)
Hah, don't be that optimistic :p
oooh Simon maybe can fix Tuna lib also :).... this is relevant code in that lib.. github.com/Tunaki/chatexchange/blob/master/src/main/java/fr/…
Don't get your hopes up
ping me if you do some stuff, worse case scenario, I will need to code some...
20:26
@Sam will fix it for us
Sam
Sam
:p
20:40
hi
So are we going for specific-site login then?
Sam
Sam
It's the simplest solution I've come across so far.
(Our bots need to be able to interact with chat, so the SE API isn't an option here.)
2
@Sam @quartata Can you explain the solution? Or even better: Code it ;)
Basically if the OpenID login goes away then the global StackExchange login (I.e. when you log in from stackexchange.com) goes away
now if you know your bot has a profile on a specific site you can log in there and get the cookies you need for chat.stackexchange
(basically the same way you log in for cSO and cMSE)
Sam
Sam
@SimonForsberg Uh, the link I posted earlier was my solution. :)
Too many loc to post here.
the trouble is which site :P we figured that making people need a StackApps account would be all right philosophically
so we'd do stackapps.com/login or whatever
Jeremy figured out how to do the "create a new profile" thing when you log into a site where you don't have a site profile
so it's not like you have to do it manually but people might find it odd we have to make a profile
Oh also we know the route to hide the profile
people might prefer that to be default behavior if the bot didn't have a StackApps profile and we had to make one
in Charcoal HQ, Mar 7 at 2:30, by Jeremy Banks
Which is posting to /users/hidecommunities/$USERID/hide with { siteId, fkey }. If we don't already have the siteId this would require calling the API or something, and maybe not worth it.
(@Sam)
@thesecretmaster if you move ChatX off of GL there is a fairly good chance I'll fix the auth for you
;P
Sam
Sam
21:01
@quartata I'll keep that in mind, thanks.
now we only need to get Sam to program in java also
haha
You know that's actually one upside to Inferno making you give the cookies directly: you write the auth route for your bot and it can log into whatever site it knows the bot account will have
@quartata I'll do it when I get around to it. Right now I've got my hands full with writing tests for another thing.
22:02
@Sam Huh, that solution doesn't look so complicated. Looks even simpler than my current code.
Sam
Sam
@SimonForsberg Yeah. However, as I've just found out, it appears to only work for SO.
SE still uses openid when authenticating with an email/pwd.
SO does not.
22:24
That's madness
@Sam even when logging into a specific site?
(e.g. codereview.stackexchange.com/users/login)
Sam
Sam
@quartata Haven't tested that case yet.
I thought that's the only option we had :P
I guess I'm confused what you're doing
Sam
Sam
AKAIK, you have to login to SE if you want to access SE chat rooms.
Or rather, you had to do that. I'm not sure if they've changed that.
yes
that is, you can't login into SO for it to work
Sam
Sam
22:32
Yes
although.. that gives me an idea
Smokey already has to log into MSE separately for chat.MSE
that should net you both chat.SE and chat.MSE cookies
Sam
Sam
hmm
@quartata Yeah, that does indeed work.

  last day (1640 days later) »