Decode JWT token in OIC
Content
Hi Experts,
Is there any way to decode JWT token in OIC. I tried the Javascript way but not working. Independently it's working. I uploaded the supported atob function but Integration is not getting activated. Can you help is there any other alternate to decode it.
function parseJwt (token) {
var base64Url = token.split('.')[1];
var base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');
var jsonPayload = decodeURIComponent(window.atob(base64).split('').map(function(c) {
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
}).join(''));
return jsonPayload;
}
atob.js
function atob(input) {
Tagged:
0