OAuth 2.0 workflow setup
Oracle Note:
Configuring Oracle Workflow
for OAuth 2.0 in Oracle E-Business Suite Release 12.2 and Release 12.1.3 (Doc
ID 2884072.1)
|
Java
api patch - 31042881 |
|
|||
|
OAuth2.0
- 34423621 |
time
adop phase=apply patches=34423621 wait_on_failed_job=yes
patchtop=/applprd/software/OAuth apply_mode=downtime |
|||
|
OAuth2.0
- 34565205 |
time
adop phase=apply patches=34565205 wait_on_failed_job=yes
patchtop=/applprd/software/OAuth apply_mode=downtime |
|||
|
JDK
Upgrade |
|
Selfsign
certificate created at our end server level
|
keytool
-genkeypair -alias ms -keyalg "RSA" -keysize "2048"
-dname "cn=app1.domain.com, ou=OH, o=Oihotels,
c=US" -storetype "PKCS12" -keystore ms.p12 -storepass "password" -validity 1095 |
|
keytool
-exportcert -alias ms -keystore ms.p12 -storepass "password" -file ms.cer
-storetype "PKCS12" |
Send Certificate details to Azure team to register.
Azure team, they will register and provide us following
details for workflow configuration
Clientid
Tenant id
Access token
Once we get confirmation from Azure Team,
We need to configure workflow with certificate details.
once you configure the workflow, to validate the configuration details
execute the following command
$AFJVAPRG -classpath .:$AF_CLASSPATH OAuthIMAPTest
<user> <inboundOAuthClientID> <inboundOAuthAccessTokenURL>
<inboundOAuthScope> <privateKeyFileID> <publicKeyFileID> <privateKeyPwd>
<dbc_file> MicrosoftOffice365ExchangeOnline > /tmp/OAuth_Imap.out
To get privatekey and publickey details
col FILE_ID for 00000000
col FILE_NAME for a15
select file_id,file_name,upload_date from fnd_lobs where file_name like 'ms%';
FILE_ID
FILE_NAME UPLOAD_DATE
--------- --------------- ------------------
0100036 ms.cer 11-DEC-22 === Public
0100035 ms.p12 11-DEC-22 ===Private
This comment has been removed by the author.
ReplyDelete