-1

我正在尝试获取身份验证令牌以开始查询一些信息。问题是当我在 Linux 中执行令牌脚本并输入我的姓名和密码时,服务器没有给我令牌。我只是得到一个空的空间。有人知道如何进行吗?

编辑:我只是输入

wget --no-check-certificate https://raw.githubusercontent.com/fgalan/oauth2-example-orion-client/master/token_script.sh
bash token_script.sh

在 Ubuntu 的命令行窗口中。该脚本询问我用户名和密码。当我写它们时,我只收到一个空白空间。

非常感谢

4

1 回答 1

0
[root@fi-next /]# wget --no-check-certificate https://raw.githubusercontent.com/fgalan/oauth2-example-orion-client/master/token_script.sh
--2017-08-01 09:59:27--  https://raw.githubusercontent.com/fgalan/oauth2-example-orion-client/master/token_script.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 288 [text/plain]
Saving to: ‘token_script.sh’

100%[====================================>] 288    --.-K/s   in 0s

2017-08-01 09:59:27 (25.1 MB/s) - ‘token_script.sh’ saved [288/288]

[root@fi-next /]# bash token_script.sh

Username: fernando.mendez.external@atos.net
Password:

Token: xxxxxxxxxxxxxxxxxxxxxxxxxxx

嗨,它对我有用。

您必须在 fiware lab 中拥有一个帐户

问候

于 2017-08-01T10:03:24.373 回答