Closed EminemJK closed 2 years ago
https://github.com/IdentityServer/IdentityServer4/issues/672#issue-199657859
solution:
import qs from 'qs';
axios({ url: '/AuthID4/connect/token', method: 'post', data: qs.stringify({ client_id: 'js', client_secret: 'jss', grant_type: 'password', username: 'admin', password: '123' }), headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }) .then((res) => { console.log('res'); console.log(res); }).catch((err) => { console.log('err'); console.log(err); });
ok,close it
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
https://github.com/IdentityServer/IdentityServer4/issues/672#issue-199657859
solution: