Gigya Registraton using WebSDK - gigya

I am new to Gigya, I am integrating it on to my project.
Gigya Registration integrating using WebSDK,
on accounts.register() getting email verification popup, How to skip this step?
I have integrated magento plugin, from magento2 website am getting "A verification email with a link to verify your account has been sent to you."
Same thing I want it is using WebSDK.

On Gigya you have accounts.setPolicies where you set verifyEmail value to false or allowUnverifiedLogin=true in the accountOptions object. Both options will make this pop up disappear.
Also you can setup in the Gigya Console in the policies.

Related

Get email from twitter OAuth2

I am using Socialite in Laravel to login with Twitter.
I know that not all twitter users have an email attached to their account, but for my application the user does need an email address. I am fine to block logins from people who do not have an email attached, but at the moment every user does have the email field set to null.
I am using this function to redirect to twitter:
return Socialite::driver($provider)->redirect();
I have already tried using scopes like this:
return Socialite::driver($provider)->scopes(['email'])->redirect();
But twitter is the only provider that does not allow scopes.
The callback returns the email address for other providers like facebook and google, but there seems to be something that I am missing while using twitter.
For OAuth1 there was a setting somewhere to enable the option to return the email field aswell, but since twitter accepts OAuth2 I can not find this setting anymore in the Twitter developers panel.
Any help would my appreciated since most of the information about this topic is outdated.
The solution was found in the twitter developers dashboard.
First of all go to the settings of your app.
Then you have to fill in a link to your privacy policy & terms page.
After that also enable OAuth 1.0 en then an option pops up to also receive the email address from the user that is trying to log in.
Twitter's new Oauth 2.0 user authentication does not currently (at the time of writing this answer) provide access to the user's email address, and will require an additional scope to be added. This is on the Twitter API roadmap and is a known feature request.
You can still use OAuth 1.0A and set the option to request the user's email address.

Strapi returns error code 400 on user registration

Strapi user registration returns error 400 Bad Request every time I try to register a test user, however the user does get created in the Users collection.
I am using the standard Strapi Email plugin (not the Send grid plugin), everytime I register a user, this plugin does not send an email which leads to be unable to confirm the user.
In the above image it returns an 400 Error but the user gets created.
Also, how to send the confirmation email with Strapi standard email plugin.
All auth permissions for Public role have been enabled
How to fix this error and send the confirmation email on new user register?
I also have the same issue, I just turned off the 'Enable email confirmation' on Advanced Settings, then it worked (registration).
So, In Strapi Admin:
Go to Settings -> Advanced settings
Set the field Enable email confirmation to "Off" then click save.
This works for me.
I think it's because you use the default email provider (sendmail). And your computer is not an available smtp server.
So I suggest you to install strapi-email-nodemailer https://www.npmjs.com/package/strapi-email-nodemailer
Then in your admin panel, got to Plugins (menu link) > Email (cog icon) and the select nodemailer provider and set the smtp server you want to use.
If you have trouble to setup correct information I suggest you to check how nodemailer node module work. strapi-email-provider is just a connector to use nodemailer from Strapi.
please check
My problem was because the sender email was misidentified.
The other problem I had was because there was no email configuration.
I installed the strapi-provider-email-smtp package and it was fixed when I made the necessary settings.
this worked for me.

How to download credentials.json in Gmail API Enable Java

I am trying to enable Gmail API following steps in Java Quickstart. When I click on "Enable the Gmail API" button in the Google developer console, no option like "Download Client Configuration" is displayed.
So, I am unable to get credentials.json File.
Gmail API credentials are restricted to enhance apps security. To enable the credentials click on API Console after clicking on Enable the Gmail API. You will travel to a filled form on the Credentials menu on Google APIs. You can change there the name and/or restrictions to better suit your project. Finally, you can click on Generate key to finish the process.
If you have followed the steps so far, you would have created the Gmail API credentials. To achieve your request you will need to click on Download JSON button on the right side of your newly created credentials. Do not hesitate to ask for more information if I haven't explained the process with enough detail.
Just enabling the Gmail api isnt going to create client credential for you. Unfortunately the developer console changes more often then the quick starts get updated so it can be difficult to understand.
Go to the https://console.developers.google.com
Find the credentials tab on the left and click the Create credentials button
You are probably going to be looking for an oauth client id, as service accounts only work with gmail if you are connecting to a gsuite account.

Outlook API - Anyone else unable to register native application?

I am creating an app which will integrate with Outlook. The app consists of a back-end which will periodically sync calendar data with another system. To do this I want to use the REST api.
Based on instructions found here I believe I should use the client authorization flow to authenticate.
Next I go to the registration portal here to register my app. As platform I add a 'Native Application'. Next I must enter a custom redirect URI. This is where things go wrong.
I try to enter http://localhost:8080/register for local testing. I get the following error:
Your URI must be in the format of {scheme}://{domain}/{path}, and be limited to 255 characters in length.
Basically any valid URI is denied. Interestingly if I try test://localhost:8080/register it is accepted.
Am I misunderstanding something? Is this a bug on Microsoft's page?
For client_credentials there isn't a callback URI. You're passing the client secret as your credentials and you don't need a Web or Native application defined.

How to install Google Application for domain from New Marketplace.?

I have done setup of project using New Marketplace. When i click on "Test Install Flow" (Api Console) ,one popup is coming, asking for permissions (scopes) to access domain. When i accept "Terms and Conditions" pop up closed.It is not redirecting to setup url. is this correct behaviour.? or It should need to redirect to setup url.
If you're trying to deploy an Google Apps Marketplace but restrict it to your domain, you can publish it to the Chrome Web Store and limit the visibility to your domain.

Resources