18

January
2013

Twitter sign in with OAuth

I was trying to implement twitter sign in using OAuth (since this very same method should work on some other social networks too, such as yahoo). I've followed the instructions given at the official documentation and was getting 401 Unauthorized response all the time, I couldn't even get the oauth_token. Yet finally I found it. As a part of the OAuth request, there is a timestamp transferred. It must not be in the past. It can be years in the future, but not in the past. The OAuth protocol is Crap.

So we should see twitter and yahoo and maybe some others sign in options hopefully soon.

Why am I spending so much time on this? Actually the reason is that I am planing to make some of the features of this website for signed users only. Thus I need as many supported sign in providers as possible, to make life easier for everybody.

User comments
Lightning 2013-01-18 08:57

> Actually the reason is that I am planing to make some of the features of this website for signed users only.

would it be possible again to simply register here on slax.org "internally" (or do the old accounts still exist somewhere)? i don't want to use external authentications and i think i'm not alone with that (as well as many user just don't have accounts capable of remote-auth mechanisms).

Tomas M 2013-01-18 09:44

I've not decided yet.

remus 2013-01-18 10:14

Why it is used swap when Slax is copied to RAM?

Kadalka 2013-01-20 16:10

@Tomas M

--- "I've not decided yet." [...]
Am I wrong, but in the past you seem to say that you don't use personal sign-in, just sign in from social media...

--- "Thus I need as many supported sign in providers as possible, to make life easier for everybody" [...]

It means OpenID... :D

This is what I've said... :-(
Too bad.

@Lightning 2013-01-18 08:57

Nope: only openID suffice...

jcsoh 2013-01-20 21:12

"Am I wrong, but in the past you seem to say that you don't use personal sign-in, just sign in from social media..."

There no need to latch on any statement made by Tomas (assuming it is true).
He is entittled to change and revised his mind (same like the rest of us).

For eg he once said he will prepare a diffmod for new iso /tar so user only need to download the small changes

Later he found out it is much harder work than expected , so he drop the idea. Can we rightly demand he must do so now on basis he would do so ?.

Kadalka 2013-01-20 22:56

@jscoh
--- "He is entittled to change and revised his mind (same like the rest of us)" [...]

1/ If you've got strategy you don't change that much.
did you see me changing that much... ?
I know how strategy rules, but he does not so he changes mostly than expected.

2/ It is not a demand: it is best practice.
Don't change to much or you lose clients...

3/ I wrote : "only openID suffice".
I even wrote: "put some forum in the main page"
That's clear...
Am I wrong ? Of course not.

Jcsoh 2013-01-20 23:21

@ Kadalka

Sorry to say this , most regular slax user knows Tomas and have benefited from his work.

On the other hand most of us don't know /never heard of you before Slax 7.

This is the second time , I find your statement as coming across as cocky /arrogant (Markds tried before to put as "language differences").

(a) Before your statement about you being the guy bringing the champange and indirect reference to Slax (and Tomas indirectly) should be grateful...
(b) Last post "I know how strategy rules, but he does not so"
So now you are smarter (at least as stratergy than Tomas).

Sorry but from where I am sitting , I see one dedicated (to linux /open source) who have contribute greatly to the linux community , and on the other side a "Jonny come lately who are proclaimed he don't use slax 7 because it's not good enough" but don't he is still the guy who:-
Bring the champange
Gonna bring strategy to Slax ? or at least yank Tomas's chain when he thing Tomas is off tangent.

Tomas only got two client . They are listed below. The rest are freeloaders (including me) . Ever those who buy the slax 7 thumbdrive are donors at best .

"Am I wrong ? Of course not." If with almost no contribution to slax or slax 7 , you self promote you as the guy who bring the champage , are we not surprise , if you can't see yourself as being in the wrong (not that I am saying you are wrong , but it's more in the tone that you put it).

Tomas generally don't answer detractor , but once when a detractor talk about been put at the mercy of slax (with regard to as when and when slax version is put out (when slax 6 was in a hiatus)).

Tomas answer was simply "The source is available , feel free to use it to produce your version slax , then others can be at your mercy ".

In short
Use it if you like it
Don't use if you feel otherwise
If you think you can do a better job /version , by all means please do so.

Kadalka 2013-01-21 02:06

@jscoh

--- "Bring the champange" [...]
This discuss is ended and until today you don't get it ? Poor guy... 8( :-(

--- "Slax (and Tomas indirectly) should be grateful.." [...]
Slax should be grateful when I come.
It should be grateful when MarkDS come
It should be grateful when anyone come.
Even that is hard for you to understand ?

--- "If with almost no contribution to slax or slax 7" [...]
There is no reason for me to contribute any module.
.sb file is not clear at all...

--- "not that I am saying you are wrong , but it's more in the tone that you put it" [...]
Ah ok!
I can bring the tone I do want. If Tomas is as good as he said he doesn't care.
Your tone is bad today, but I don't care...
Tomas said that he doesn't care about the tone...
Smart people doesn't care for that.

--- "client"
One, thousand, millions : does this change what I said, or may be the truth ? Nope.

--- "Tomas generally don't answer detractor" [...]
No one answers detractors...
I speak to you because you don't get it, not because you silly me.

--- "If you think you can do a better job /version , by all means please do so." [...]
This is why I do comment:
I am here to give advice, and modules when Slax will be in a better shape...
That is an example of "all means"

--- "arrogant"
I've noticed that arrogant is a word that people send when they don't have any arguments...

Kadalka 2013-01-21 02:16

@jscoh
My advice for you his simple:

Try to read carefully what people said before commenting.
I don't use slax 7 because it is not serious for me.

1/ load/noload doesn't exists, until someone request it... o_O
2/ some important drivers doesn't exists (broadcomm, etc.) when every distro provide it.
Even little distro are better in checking devices...
Do you feel it good ?
3/ .sb is not mature: (/run/something ?)
4/ No forums [I will never understand it]
Tomas even dare to say to me:
"Forum is the past, the future is something else"
It means to me that he doesn't even know what a forum is !
A forum is a place outside the main page where people NEED more accurate info...
We don't need to know if the forum is phpBB or facebooking or Googling...
This place must exists as soon as possible...
Did you see a link in the main page ? Nope.
5/ No OpenID. How come could you convince someone to contribute with FB or G+ ???
At least, it is better to use an internal way.
Haven't you noticed that some people disagrees about facebook connect in slax ? I am one of the guys.
6/ searching module/build doesn't run as expected said some people one day [it is fixed I guess].
7/ No DVD burning GUI...
etc.


As I said: I am a linux user.
Like any linux user I've learned some basics, such as init, iptables, compiling kernel, etc.
After trials, I've decided that debian must be the main distro I should use.
I guess that you have noticed that debian is first especially in number of packages.
(debian, knoppix, ubuntu, etc.)

If you know what strategy is then you know why I choose debian.

I want you to know that Porteus is better than slax.
I make private modules for Porteus and none for Slax until today.
I will provide some modules to the public when Porteus 2.0 Final will be out.
(some test should be done before uploads of course)


In short:
Speak correctly so I could give to you correct answer.
Tell me what you want, I will listen: I never said that I will agree or I will do what you want.
Whatever we do, the truth will stay the same:
If something is bad, I will say it is bad. Don't ask me to say something else.
If something is good I will tell it is good even if you hate it.

Truth is the only thing that interested me in every discuss.

For example, one good idea from Tomas is the module building way:
A server is used to do it so everyone can have specifics module...
At least I wish that it is the case.
(I've read that it is a bit buggy but we've expect it to be stable one day)

jcsoh 2013-01-21 03:10

When you can't give a straight answer to what so call "champange" you bring , you post a long rambling Post ?

Once again I ask you point blank what is the so call "champangne " the rest of us is suppose be very greatfull for.

How about a short answer.

As markds posted "we agreed to disagree".