[Fiware-fia-fundingbox-integration] [FIGLOBAL] Re: SSO integration

Filippo Giuffrida filippo.giuffrida at eng.it
Tue Aug 22 16:16:17 CEST 2017


Hi Jorge,

I'm trying to use the example provided by you.

I've created an account on https://fundingbox.com/ with email 
filippo.giuffrida at eng.it, I've verified the email and I access fine on 
https://fundingbox.com/

I've tried to access by a blank browser to 
http://accounts.fundingbox.com/authorize?client_id=597867a6e6c736834bd0cd1a&response_type=token 
, it redirects to http://accounts.fundingbox.com/login where the 
following form appears



I've tried to access by the account filippo.giuffrida at eng.it, but it 
doesn't work, I got the message "*Your username or password are 
incorrect, please try again."*

I've also tried to create an account by the link "Create an account" but 
it links to #

Please, could you take a look ?

Thank you in advance

Best Regards

/Filippo/




Il 26/07/2017 18:15, Jorge Fernandez ha scritto:
> Hi Filippo,
>
> I've prepared a brief document and a very basic example using the 
> "implicit grant" flow.
>
> Example: 
> https://drive.google.com/file/d/0B29v6b3mGXyUUllZczNYRmsyZ1k/view?usp=sharing
> Document: 
> https://docs.google.com/document/d/14Bjn6ibrOgmq1P0sx5hDh_U98f5ypLOqUniy7Vpunvg/edit?usp=sharing
>
> This is probably the easier one to implement, but if you prefer to use 
> a different grant type just tell me and we can prepare a different 
> example.
>
> The example is very basic, using only javascript.
> If you use php in your laptop you can run it with this command: php -S 
> localhost:3000
> If not, you'll need to upload the files to a web server or run it with 
> node, etc...
>
> Here are the credentials you'll need to use our Accounts service:
>
> *authorization_url*: http://accounts.fundingbox.com/authorize
> *client_id*: 597867a6e6c736834bd0cd1a
> *client_secret (not needed if using the implicit grant type)*: 
> mac974348wncw084309du7tcnw084tcw846tndw86tbw
>
> The URI to redirect to after the user grants/denies permission is : 
> *http://localhost:3000/authorize*
> If you need to change it you'll have to ask me to do it.
>
> After the user granted permission you'll receive and access_token and 
> you should use it to call our API to get the user details like the 
> email, username, etc...
> This can be done calling this REST method: *(GET) 
> http://api.fundingbox.com/users/me* (including a header 
> "Authorization": access_token)
>
> If you need any help or examples to implement this just tell me :)
>
> Regards,
> Jorge
>
> On Wed, Jul 26, 2017 at 10:59 AM, Jorge Fernandez 
> <jorge at fundingbox.com <mailto:jorge at fundingbox.com>> wrote:
>
>     Hi Filippo, sorry for my late response, I'm been out since friday.
>
>     We have and OAuth2 authentication service with the following grant
>     types:
>
>     Authorization code grant
>     Implicit grant
>     Resource owner credentials grant
>     Client credentials grant
>     Refresh token grant
>
>     I guess the simplest implementation would be use the "implicit
>     grant" option, since it's quite simple to implement from scratch.
>     We are now preparing some documentation and examples, and I hope
>     to sent them to you during the day.
>
>     Regards,
>     Jorge
>
>     On Tue, Jul 25, 2017 at 7:03 PM, Filippo Giuffrida
>     <filippo.giuffrida at eng.it <mailto:filippo.giuffrida at eng.it>> wrote:
>
>         Dear Jorge,
>
>         did you receive the following email, that I sent to
>         fiware-fia-fundingbox-integration at lists.fiware.org
>         <mailto:fiware-fia-fundingbox-integration at lists.fiware.org> ?
>
>         Please, could you let us know ?
>
>         Thank you in advance
>
>         Best Regards
>
>         /Filippo/
>
>         -------- Messaggio Inoltrato --------
>         Oggetto: 	SSO integration
>         Data: 	Mon, 24 Jul 2017 16:11:09 +0200
>         Mittente: 	Filippo Giuffrida <filippo.giuffrida at eng.it>
>         <mailto:filippo.giuffrida at eng.it>
>         A: 	fiware-fia-fundingbox-integration at lists.fiware.org
>         <mailto:fiware-fia-fundingbox-integration at lists.fiware.org>
>
>
>
>         Dear Jorge,
>
>         as Giovanni wrote in a previous mail, one of the first steps
>         of the our integration should be:
>
>           * Integration with FundingBox via OAuth 2.0 or CAS (to be
>             finally agreed, after information sent by Jorge)
>
>         Currently our tool doesn't provide a native module to use
>         OAuth 2.0 as SSO system, so we should develop it from scratch.
>
>         An alternative route that allows us to reduce the time for
>         putting the SSO into operation is the use of CAS.
>         <https://en.wikipedia.org/wiki/Central_Authentication_Service>
>
>         Does FundingBox implement the CAS protocol ?
>
>         Please, could you let us know ?
>
>         Thank you in advance
>
>         Best Regards
>
>         /Filippo/
>
>
>         -- 
>         *Filippo Giuffrida*
>         Researcher, Member of the Public Administration Innovation Unit
>         Research and Development Lab.
>         filippo.giuffrida at eng.it <mailto:filippo.giuffrida at eng.it>
>
>         *Engineering Ingegneria Informatica spa*
>         Viale Regione Siciliana N.O. n.7275
>         90146, Palermo (Italy)
>         Direct phone +39 - 091 7511842 <tel:+39%20091%20751%201842>
>         Operator +39 - 091 7511711 <tel:+39%20091%20751%201711>
>         www.eng.it <http://www.eng.it>
>         -- 
>         *Filippo Giuffrida*
>         Researcher, Member of the Public Administration Innovation Unit
>         Research and Development Lab.
>         filippo.giuffrida at eng.it <mailto:filippo.giuffrida at eng.it>
>
>         *Engineering Ingegneria Informatica spa*
>         Viale Regione Siciliana N.O. n.7275
>         90146, Palermo (Italy)
>         Direct phone +39 - 091 7511842 <tel:+39%20091%20751%201842>
>         Operator +39 - 091 7511711 <tel:+39%20091%20751%201711>
>         www.eng.it <http://www.eng.it>
>
>
>

-- 
*Filippo Giuffrida*
Researcher, Member of the Public Administration Innovation Unit
Research and Development Lab.
filippo.giuffrida at eng.it <mailto:filippo.giuffrida at eng.it>

*Engineering Ingegneria Informatica spa*
Viale Regione Siciliana N.O. n.7275
90146, Palermo (Italy)
Direct phone +39 - 091 7511842
Operator +39 - 091 7511711
www.eng.it <http://www.eng.it>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-fia-fundingbox-integration/attachments/20170822/9e512949/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fmpoddjnaajjjped.png
Type: image/png
Size: 18176 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-fia-fundingbox-integration/attachments/20170822/9e512949/attachment-0001.png>


More information about the Fiware-fia-fundingbox-integration mailing list

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