[Fiware-tech-help] Problem with oauth on context broker

Ahmed Sadek don1559 at gmail.com
Sat Mar 28 18:04:31 CET 2015


Dear All,

I am facing a problem setting oauth security on a context broker node.

I tried to follow the tutorial but still no luck.
https://github.com/ging/oauth2-example-client/blob/master/docs/oauth2_tutorial.pdf

According to the example the server.js is working and running on port 3000
(I changed it because I can't have apache2 and oauth listening on the same
port 80), attached print screen.
Our context broker instance is running here and you can check the version
http://194.177.207.101:1026/version
Also apache web server is running :
http://194.177.207.101/

I created an account on FI Lab application and generated client id and
secret. attached print screen also. and edited the config and server file.
attached both of them.

Now I keep trying to do get https://194.177.207.101:3000 but no response.

So what I am doing wrong here, what is the missing part, should I edit the
redirect part in the server.js file ?

Best,,
Ahmed Sadek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150328/ae0e3bcd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2015-03-28 17:52:05.png
Type: image/png
Size: 189269 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150328/ae0e3bcd/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2015-03-28 17:50:07.png
Type: image/png
Size: 156820 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150328/ae0e3bcd/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.js
Type: application/x-javascript
Size: 2907 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150328/ae0e3bcd/attachment.js>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.js
Type: application/x-javascript
Size: 327 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150328/ae0e3bcd/attachment-0001.js>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oauth
Type: application/octet-stream
Size: 1985 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150328/ae0e3bcd/attachment.obj>


More information about the Fiware-tech-help mailing list

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