2
パーStormpath documentationは、パスワードgrant_typeのために、1がする必要があるでしょう、すべては以下のようなポストの要求を行うことである。Stormpath OAuth 2.0のサポートされていない許可タイプ
POST /oauth/token
Host: myapi.com
Accept: application/json
Content-Type: application/x-www-form-urlencoded
grant_type=password
&[email protected]
&password=theirPassword
しかし、これは動作しないと戻って「unsupported_grant_type」 。私の設定では、パスワードの許可が有効になっています。私は何が欠けていますか?ボディは、OAuth2.0の規格ごとのような単一の行でなければなりません -
でなければなりませんでした。 – rdegges
@rdeggesドキュメントを更新していただきありがとうございます! –
これは正しい答えです! .NETのドキュメントを更新しました:https://docs.stormpath.com/dotnet/aspnet/latest/authentication.html#oauth2-password-grant –