Project

General

Profile

Actions

Improvement #13392

open

Remove deprecated OAuth token validation method usage

Added by Navod Zoysa 8 days ago.

Status:
New
Priority:
Medium
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
8:00 h
Device Type:
Component:
Type:
Platform
QA Start Time:
QA Due Time:
QA Estimated Time(Hours):
2.00

Description

Description
The method used for token validation in the WebAppAuthenticationValve findOAuthConsumerIfTokenIsValid() is a deprecated method [1][2]. Instead it is recommended to use buildIntrospectionResponse() which also adds a performance improvement by avoiding creating unnecessary objects [3][4].

Need to fix places where this method is used in device-mgt-core (including tests) and emm-plugins.

[1] - https://github.com/wso2-extensions/identity-carbon-auth-rest/pull/144
[2] - https://github.com/wso2/product-is/issues/9616
[3] - https://github.com/wso2/product-is/issues/11257
[4] - https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/1549

No data to display

Actions

Also available in: Atom PDF