Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

UUID v4 in 23.8.0.25.04

Filip Huysmans4 days ago

Hello everyone,

I'm setting up a call to Vitrium API's. To perform the login-procedure we need an UUID of version 4.

Since we are not yet on 23.9, I thought to use the other possibilities (except java) from https://oracle-base.com/articles/9i/uuid-9i

But these solutions do not generate a v4 compliant result.

Is there another way to get a v4-compliant uuid?

I got it working in postman and there I use the following javascript-code:

// Import the GUID library to generate a unique identifier for the ClientNonce

const { v4: uuidv4 } = require('uuid');

// Generate a ClientNonce (a random unique identifier) for the authentication challenge

// The ClientNonce is used in the two-way handshake process to ensure secure communication

let clientNonce = uuidv4();

Thx a lot for your thoughts.

Kind regards

Comments
Post Details
Added 4 days ago
1 comment
49 views