Ari Okkonen
Ari Okkonen

Reputation: 165

How to get authentication token for Orion context broker

There are answers that point to https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Publish/Subscribe_Broker_-_Orion_Context_Broker_-_Quick_Start_for_Programmers . However, proceeding along to the instruction and running "bash token_script.sh" I get:

Username: <my Fi-Lab log-in address>
Password: <my Fi-Lab password>

Access Token: User credentials not authorized

Organizations:
ID                               Name

Select an organization from the list above (ID):

Token: User token not authorized

Dead end. Some critical detail may be missing in the Quick_Start_for_Programmers document.
EDIT: The problem mysteriously disappeared when retried later. I could do this on a Linux system that was not related to FI-LAB.

Upvotes: 0

Views: 456

Answers (1)

fgalan
fgalan

Reputation: 12294

After discussing it (see the comments to the question), the solution is to use the complete username, including email domain, e.g. if the email were "[email protected]" you have to use "[email protected]", not just "foo".

The Orion Quick Start Guide has been edited to remark that.

Upvotes: 1

Related Questions