personium / legacy-docs

This repository is obsolete. Latest contents are maintained under new-docs. Therefore, please DO NOT open issues, fork or send pull request to this repository.
Apache License 2.0
2 stars 6 forks source link

cURL sample for unit user token acquisition is incorrect. #69

Closed SawamiWataru closed 6 years ago

SawamiWataru commented 6 years ago

https://personium.github.io/ja/unit-administrator/Unit-User.html

curl "{UnitURL}/{Cell}/__token" -X GET \
-d 'grant_type=password&username=user&password=pass&p_target={UnitURL}/'

"POST" is correct, not "GET".

hiroaki-shibata commented 6 years ago

This issue is samwe with #87 and corrected.