Getting server error in Oauth Apis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I have created a Oauth profile and I am trying to hit from postman , when I kept the username , password , Clientid , clientsecret in the body I am getting the access token in request body
But when I tried it keeping Authoization as Oauth 2.0 and provided the username , password , Clientid , clientsecret in the authorization with grant type password it is throwing me this error in the body
Has anyone faced this issue ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
you need to include grant_type as well while getting the token and include that in your body
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
30m ago
Hi @Ankur Bawiskar thanks for the response , my issue is I dont want the username , password , Clientid , clientsecret in the body , i want them in Authorization , while trying that i am getting the above error
