Posted by: robin | May 20, 2008

very simple openid on django

As most of you know, I am learning a some bits of django, and some other things.

I am just wanted to share how incredibly easy is to use openid inside a django application. It’s really nice to have login users without the need to ask them username/password. This is the way openid works, you just have to login on any openid server, and when you use this openid authorization authentication to login on a website that supports openid, the second one consume the authorization authentication from the first openid server.

In terms of django and open id, what we have is djagno-openid which let us become a openid consumer and also django-openid-auth, which integrates django-openid and django authentication. It means that when you login with the open id (for me, my open id is http://robertrv.wordpress.com … ), this openid is linked to the user on the django authentication system, being able to have all the roles (super user, stuff .. etc)

To have it working, what we have to do is mainly use the django-openid-auth documentation, where explains the following steps:

  • Install python-openid (version 1.2 or 2, I tried with 1.2). The documentation says that you have to download the “combo” package, but I didn’t found it … so I installed other two other packages:
  • There is a dependency not explained on the documentation: elementtree.ElementTree
  • Then you need the django-openid.
  • Finally the proper django-openid-auth
  • And now, you have an example application on the django-openid-auth named: djopenid_example. But to have it working you have to apply this patch to the file djopenid_example/djopenid/views.py

And then you will have the openid working ! I’ll try in the future post some more comments to explain how to create users directly with this openid, now is mandatory to create an user and link it to some openid.

UPDATE 20/05/2008: Thanks bosco, obviously is just authentication, the authoritzation in this case is internally managed by the openid consumer, in this case django (NOTE: is not good to post so late at night).

Posted by: robin | May 5, 2008

New MMB may ‘08: fragmentation solutions?

Hello Again everybody (yes, everybody is just the 5 friends who read this blog :P ).

Today I have gone to the Mobile Monday Barcelona, this time I think there where less people than usual, but as usual we had some talks, some good and some other not as good, most of them related to the way to write application to the most part of existing devices:

Read More…

Posted by: robin | March 19, 2008

Ausencia y más ausencia

Hola a los 2 o 3 lectores de mi blog !!!

primero disculpad mi ausencia, hasta ahora vamos a 1 post por mes … y la cosa no va a aumentar !!!

por si hay alguién que aún no lo sepa, estoy haciendo un máster … y ahora viene la fase decisiva del dichoso máster … así q voy a desaparecer al menos hasta Julio !!!!

Me voy, pero volveré con más fuerzas (o eso espero!)

Posted by: robin | February 12, 2008

todo esta sobre railes ?

Hola a todos,

estas últimas semanas he estado leyendo y comentando cositas en el blog de bosco. Entre otras cosas hablábamos del fenomenal Ruby on Rails, pero ahora estoy pensando y creo que no hay casi nada que no tenga su versión on rails !!!

Esta es una lista de los más curiosos:

Estoy empachado de tantos railes … y el ave sin llegar a barcelona !

PD: Siento no haber escrito nada durante tanto tiempo, quien me lee y me conoce, sabe q estoy un poco liadete … pero eso son solo excusas :D

Posted by: robin | December 23, 2007

Coste del software sin el sistema de “mojar el dedo”

Hola a tod@s,

para variar soy a hablar de software, en este caso de como valorar el coste (tiempo/personas) para realizar un proyecto.

He visto esta entrada de un blog y me he enterado que existe un sistema llamado COCOMO (y no tiene que ver con lo que come el coco … que chiste más malo!).

Read More…

Posted by: robin | December 10, 2007

Amigo invisible … online ¿?

Hola a tod@s,

como sabéis estamos en la época de navidad, y una cosita típica de esta época es hacer entre amigos, conocidos, familia, etc. los típicos regalos que nunca sabes lo que te va a tocar, os suena no ? Si, hombre, del cole, el Amigo invisible!

Pues bien, como todos somos muy internacionales y nos cuesta mucho vernos que mejor que tener un Amigo invisible online!!!

Read More…

Posted by: robin | December 3, 2007

MMB: Location Based Services

Hoy he vuelto a ir al Mobile Monday Barcelona. Lo cierto es que me empieza a gustar, no es lo mejor del mundo ni va dirigido al 100% al sector que me quiero dedicar, pero es un punto de encuentro interesante y una manera barata (en tiempo y dinero) de ponerse al dia en este mundillo que siempre va bien.

Esta vez han hablado sobre servicios basados en la localización (lbs)

Read More…

Posted by: robin | December 3, 2007

Netbeans 6 ! :D

Hola a todos,

simplemente me alegro por ver que la gente de Sun sigue con pies firmes sacando adelante este software. He visto las noticias en otros sitios como theserverside . Read More…

Posted by: robin | November 22, 2007

Podcast … vaya vicio !

Si es cierto, soy un adicto … y como no a algo tecnológico :P

Hace un tiempo, en el máster (MGTI) hablaron sobre los Podcast dentro del Hype Cycle, como una tecnología casi consolidada.

Read More…

Posted by: robin | November 22, 2007

scrum, y ezto q ez ?

Para quien esto os suene a chino, eh rebe :P , esto es una metodología de desarrollo de software (lo sé, os habéis quedado igual).
Read More…

« Newer Posts - Older Posts »

Categories