【发布时间】:2017-06-19 14:32:20
【问题描述】:
我的表单帖子
<html>
<head>
<title>Submit this form</title>
</head>
<body>
<form method="post" action="http://localhost:4200/callback">
<input type="hidden" name="access_token" value="eyJ0" />
<input type="hidden" name="token_type" value="Bearer" />
<input type="hidden" name="expires_in" value="3600" />
<input type="hidden" name="scope" value="read write" />
<input type="hidden" name="state" value="Ra7JV" />
</form>
</body>
</html>
当http://localhost:4200/callback 被调用时,导航到回调组件。但在这里它无法导航到显示无法 POST /callback 的回调组件。
如何在我的 angular2 CallbackComponent 中捕获帖子表单。
【问题讨论】:
标签: angular authentication angular2-services angular2-jwt