on 2021 Jul 23 11:56 AM
Hello CDC community,
we have setup a demo web site for using the CDC screen sets and in order to test the different function.. This is working fine for the Login & Registration Screen. After registration the user information is transferred to the CDC successfully.
Now we want to implement the default screen set "Default-ProfileUpdate". The popuo is triggered but not user information is displayed after Login. The system does not recognise which user has logged in. Profile parameters are empty and are not updated.
Questions:
- How can we let the system know which users is currently logged in?
- How can we get information from the loginlike first name / email etc.
- How do we know that the user is logged in successfully?
Here is an overview of the gigya plugins we are using right now for the Login / Registration / Edit Profile:
<?php
if(isset($_POST['button1'])) {
echo "<script type=\"text/javascript\">
gigyaPlugins.login();
</script>";
}
if(isset($_POST['button2'])) {
echo "<script type=\"text/javascript\">
gigyaPlugins.register();
</script>";
}
if(isset($_POST['button3'])) {
echo "<script type=\"text/javascript\">
gigyaPlugins.editProfile();
</script>";
}
?>
Which information do we need to pass to the "edit_Profile" plugin in order to identify the user?
Thanks for your support.
Cheers,
Marco
Request clarification before answering.
Hello Marco,
have you verified in the console if CORS problems arise? I was facing a similar problem and I got to solve it by doing correct settings in "Trusted Site URLs" on Site Settings.
Hope it helps,
Kind Regards
Gabriel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marco,
If there's no information in the profile form is probably because there's no active session. The webSDK automatically populates this form with the data of the logged-in user.
I'd recommend you to use gigya.showDebugUI(); in the browser console to see what calls are happening under the hood and why the session is not stablished.
Feel free to comment here with your findings,
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.