My Oracle Support Banner

Mobile And Social : REST Call To 'DELETE' A Token Is Throwing Error-405: Operation Not Supported (Doc ID 2057671.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Mobile and Social - Version 11.1.2.1.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.2.1.0 version, Agent infrastructure

We are trying to delete a REST token using below request:

curl -H "Content-Type:application/json"
--request DELETE
http://localhost:18001/oic_rest/rest/jwtauthentication/tokens/info
-d '{
  "X-Idaas-Rest-Subject-Value":"YHEGjRP5eewNeXeK9v%2F3YBX...tvMJW9p%3D",
  "X-Idaas-Rest-Subject-Type":"TOKEN"}'

but we are getting Error-405: operation does not supported. Please check and let us know the steps to resolve it.
We are using OAM 11gr2ps1


ERROR
-----------------------



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Install OAM
2. Enable Mobile and Social
3. Enable Service Provider JWTAOMAuthentication
4. Request a JWT Token
5. Issue a cURL command to delete the token.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.