2023 Feb 09 1:21 PM
i m implementing a application using Nextjs for the front and Gigya for the authentification. My question is I need the UIDSignature and the signatureTimestamp for access my data from the backend. To get i need to use the gigya SDK which is implement in the client side. I would like to call the gigya.getAccountInfo inside the getServerSideProps function but since the sdk is called in the client gigya object is not deifne.
Is there a way to get UIDSignature and the signatureTimestamp from the backend or call the sdk before to be able to define the gigya object ?
I ve try to get UIDSignature and the signatureTimestamp inside the api routes but didn't work.
2023 Feb 09 1:21 PM
Hi tamon,
Thank you for visiting SAP Community to get answers to your questions.
As you're looking to get the most out of your community membership, please consider including a profile picture to increase user engagement & additional resources to your reference that can really benefit you:
Profile https://developers.sap.com/tutorials/community-profile.html
Tips for Questions: https://community.sap.com/resources/questions-and-answers
Consider taking our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html.
I hope you find this advice useful, and we're happy to have you as part of the SAP Community!
All the best,
Dedi