We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to control access to Orion using oauth 2.0?

Hi.

I can access the entity named 'TestRoom' in Orion using request like 'http://localhost:1026/v2/entities/TestRoom' without any access restrictions. So, I just want to make constraint to access Test_Room using OAuth2.0 token.

But now I don't know how to make access token scope to entity in Orion. For example, I want to make the user or the app that has access token(scope:read temperature from TestRoom) can read temperature information from TestRoom.

If I know above thing, I will make the request access token(scope:read info. from Test_Room) and use that token with X-Auth-Token header.

So Could you get me any information, URL or document? I already read RFC 6749 and some documents of FIWARE Security GE, and installed orion, keyrock and authzforce. And I was not install the Willma(PEP) because Tour-Guide App provided FIWARE doesn't use this GE. (I don't know why, as you know, PEP is entry point of all FIWARE security right?)