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 and later
Information in this document applies to any platform.


We are trying to integrate 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 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 using RS256 algorithm ?


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