E1:AIS AIS Logon Request With JWT Token (Doc ID 2227265.1)

Last updated on MAY 30, 2017

Applies to:

JD Edwards EnterpriseOne Tools - Version 9.1 and later
Information in this document applies to any platform.

Goal

Using a 3rd party product - Azure to connect to AIS and in the final stages of implementing the JDE API with regards to JWT. Obtained a JWT token from the authentication provider, and now just need to pass that to the JDE /tokenrequest endpoint. This requires some JDE specific information regarding the AIS /tokenrequest endpoint that the documentation lacks, for example, regarding the parameters required for sending the JWT token in lieu of the username and password.

The documentation does mention sending a Bearer token in the Authorization header which has already been done, but the /tokenrequest endpoint appears to require a username and password (which contradicts the purposes of a Bearer token), so JWT doesn’t appear to work using just a pure HTTP Post to /tokenrequest. So need a specific example to confirm what that HTTPPost to /tokenrequest should look like as it’s a JDE/AIS specific question (similar to the REST Post examples given in the guides for /tokenrequest using a username and password).

There is a JWT Token class as part of the AIS Client library (but not the JDEMF library). There are no examples of that either in the API guide. 

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