volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

ServiceAPI AspNET identity

I'm hoping someone can help with probably a simple problem setting up ServiceAPI in a new site.

I'm trying to set up ServiceAPI to use AspNet Identity (which seems to be the default in a new site), rather than the membership provider. I've been following this link:

 
However when I'm attempting to call the token issuing API with a grant_type of "password", I'm getting an unsupported_grant_type Bad Request back.
Does anyone have any ideas on what I'm doing wrong?
#177051
Apr 03, 2017 15:03

Do you have a valid certificate for https or have you set the episerver:serviceapi:requiressl appsetting to bypass the security check?

#177059
Apr 03, 2017 17:15

Can you show your post to get the token here? From the error message it looks like you are sending username/password in the header, not the body of the request

#177117
Apr 04, 2017 9:39
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.