How can I configure the login service in a button?

I want to create a login button on my chatbot.

How can I configure the settings for Google, Microsoft and Facebook logins ?

For Google (Facebook and Microsoft below) :

You need to activate the option :

Then we need to find the credentials. Go to the Google console..

Follow the following steps :

Then click create. The info needed appears on screen :

For public access (outside your organisation) you need to follow this process.

Then create a Button Bubble :

And make one of the buttons a Login Button :

For Facebook (Microsoft below) : we need to find the same credentials than for Google.

You need to create an app : https://developers.facebook.com/apps/create/

Choose one of these options :

Then go the Parameters > General tab :

This is what you need :wink: !

2 Likes

Very useful, thanks !

For Microsoft :

You have to go to https://portal.azure.com

Then search for Microsoft Entra Id in the search bar :

Then click on Add :

Then App registration :
Capture d’écran 2024-05-07 à 15.01.23

Then name your app and select single tenant if you want only people in your organisation to have access to your bot. Then click on Register :

Then click on Authentication in the sidebar, then “Add a platform”, then Web :

Then enter Ideta Nuki as a redirect URL and select ID tokens before clicking on Configure :

Now your OAuth is setup. You can gather the “application ID” from the “Overview” section in the sidebar and you can create the secret in the “Certificates & Secrets” section (click on “new client secret”, name it and “Add”) .