on 10-22-2018 11:39 AM
unable to get token https://localhost:9002/rest/oauth/token?client_id=test_client&client_secret=1234&grant_type=client_c...
below web.xml configuration i did for custom commercewebservice
replaced clientCredentialsTokenEndpointFilter class entry in custom extension web.xml. then able to access /customextension/oauth/token
<filter-name>clientCredentialsTokenEndpointFilter</filter-name>
<filter-class>org.springframework.security.oauth2.provider.client.ClientCredentialsTokenEndpointFilter</filter-class>
</filter>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try /authorizationserver/oauth/token instead of /rest/oauth/token
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/authorizationserver/oauth/token is working but unable to work with /rest/oauth/token getting 500 Internal Server Error
Even unable to access below , getting 302 found , I have tried with access-token as well as without access-token.
URL: https://localhost:9002/rest/v2/electronics/users
JSON Body : { "uid":"john.doe@mail.com", "password":"1q2w3e4r", "firstName":"John", "lastName":"Doe", "titleCode":"mr", "access_token": "170f8fc9-87b5-4fee-a996-1b357afc3854" }
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.