How To Achieve Base64Url Encoding In Groovy (Doc ID 2294200.1)

Last updated on AUGUST 21, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.12.1.0.0 and later
Information in this document applies to any platform.

Goal

We are trying to integrate BOX.com with Oracle Sales Cloud.

We are trying to authenticate User using JWT(JSON web token). Idea is to use the Outbound Rest call to authenticate with api.box.com. In the rest call we need to include JWT assertion.


Q 1: We know base64encode function is available but how can we achieve Base64Url encoding ?
Q 2: How can we generate the JWT assertion in Oracle Sales cloud as in the link https://jwt.io/ using RS256 algorithm ?
 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms