[Fiware-developer-experience] Oauth authentication

Alvaro del Castillo acs at bitergia.com
Wed Jul 29 13:31:43 CEST 2015


Hi!

El mié, 29-07-2015 a las 12:43 +0200, Alberto Martín Casado escribió:
> Hi all!
> 
> 
> As we agreed during the meeting yesterday, we've updated the
> fiware-devguide-app with a first version for the Oauth authentication.
> 
> 
> With this, the main page of the fiware-devguide-app
> (http://compose_devguide_1) will show a simple link to log in against
> IdM. You can test with any of the users listed here.
> 
> 
> When you press it, it will redirect to IdM to authorize the app, and
> once authorized, to the fiware-devguide-app back getting the username
> you've choose to log-in.
> 

I think that in the callback you receive also the token for the user.
This token should be carefully stored in the client. In the future you
will need to provide this token in all REST API operations and depending
on it, you will get the results or no authorized error.

> 
> For testing it, you should update the idm-keyrock and
> fiware-devguide-app images from the DockerHub registry. Then, as
> usually, run the docker-compose provided at fiware-devguide-app.
> 
> 
> Note that as is just for testing, the host for the moment is
> hard-coded at the IdM as 'compose_devguide_1', as it is how it works
> with the compose; so if you change it in any case, the Oauth
> authentication will stop working.
> 
> 
> We will handle this as soon as we get the first version of the roles
> and permissions.
> 

Great!!

Cheers

> 
> Best,
> 
> 
> 
> 
> Alberto Martín
> _______________________________________________
> Fiware-developer-experience mailing list
> Fiware-developer-experience at lists.fiware.org
> https://lists.fiware.org/listinfo/fiware-developer-experience


-- 
Alvaro del Castillo San Félix
acs at bitergia.com - Chief Technical Officer (CTO)
http://www.bitergia.com
"Software metrics for your peace of mind"





More information about the Fiware-developer-experience mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy