Google Actions SDK provides a way for Account Linking from the Google Developer Console wherein we can configure the redirect url for Account Linking. From here, I am redirecting to my custom url and upon successful authentication, the url returns an oAuth code.
I want to achieve the same for Facebook Account linking wherein for linking a user, it would redirect to my custom url and return the oAuth code for further processing.
Is there such capability for Account Linking FB and DialogFlow chatbot?
Related
I'm writing an app which will allow me to get specific data from outlook/exchange using the EWS on behalf of a slack/outlook/exchange user. to authenticate via Microsoft’s oauth flow I created a azure a client_id and would like to initiate the oauth flow for m265 from the apps Home Screen. In order to create the client I’d I also need to provide a redirect url within azure ad.
Where can I find documentation on how to best use external oauth flows? (This is not about installing/authorizing the app within slack).
I’d like to add a "connect to outlook" button on my apps home page after installing from which to start the flow.
Shall I call the Microsoft login (oauth) url directly or should I first link to my apps web server?
When calling the microsoft login I need to provide a redirect url (which needs to match the one in azure ad) to which the authorization codes gets returned.
For some apps (e.g. outlook calendar for slack) this seems be a slack url.
servicenow seems to use something like…
https://slack.com/interop-apps/servicenow/snow_oauth_redirect
Is there a way to define such an url for my app within slack?
How will the authorization code be handed over to my app (I assume to the Request url I defined for my app…?
Thank you for time and consideration..
• I am considering here that you are providing authentication for your application through Azure AD, thus, to configure redirect URIs after authorization code or token is received post successful authentication, please refer the below documentation on redirect URIs. It specifies in detail the configuration restrictions that should be followed while configuring a redirect URL in Azure AD: -
https://learn.microsoft.com/en-us/azure/active-directory/develop/reply-url
Similarly, to configure a redirect URL for an application in Slack, please check the callback URL settings configured because it is required while redirect URL is an optional thing. Also, Slack will redirect the users to the callback URL itself configured in app settings if redirect URL is absent. And if provided, the redirect URL's host and port must exactly match the callback URL. The redirect URL's path must reference a subdirectory of the callback URL. Please follow the below link for more information: -
https://api.slack.com/legacy/oauth
In the above URL, go to ‘Using access tokens’ and ‘Redirect URLs’ section for exact information.
• And as far as calling the Microsoft login (OAuth)URL directly or linking it to your app’s web server, I would suggest you provision your Azure AD users in Slack by following the below documentation link or configure SSO with Slack by adding it in Enterprise Applications in Azure AD from application gallery and then configure the API permissions required for accessing the data from Exchange through EWS. In this way, proper configuration and redirection can be achieved for the users which are allowed to access the specific data from Exchange.
https://learn.microsoft.com/en-us/azure/active-directory/saas-apps/slack-tutorial
https://learn.microsoft.com/en-us/azure/active-directory/saas-apps/slack-provisioning-tutorial
I am building a Dialogflow agent and I am trying to have
account linking with OAuth
between my website and Google Assistant. And I am using Keycloak as my authentification server.
Keycloak configuration
Account Linking
Result
Then after I put the username and password
Any Ideas why Google assistant does not sgin in? And is there a way to debug it?
I am creating a Xamarin.Forms application and using Azure's Authentication/Authorization to add Facebook and Google as authentication providers. In my code, I am using the LoginAsync() from MobileServiceClient class to perform the login for both Facebook and Google.
I am able to successfully authenticate Facebook users. However, with Google login, once the code executes LoginAsync(), it takes the user to Google's sign-in page (https://accounts.google.com/signin/oauth/...) and just stops there. The page is blank and nothing is displayed.
Screenshot of empty page
I tried logging in using Chrome with my azure app url (https://traveldiary.azurewebsites.net/.auth/login/google/callback) and Google login shows up and when I select my gmail account to access the site, I get to a page that shows the message:
traveldiary.azurewebsites.net is currently unable to handle this request.
HTTP ERROR 500
I have followed all the steps to configure Google Login from Microsoft site - here. Is there any other setting that is missing that I have to add to make Google sign-in page show up and then redirect to my authorized Redirect URI once successfully logged in.
Thanks for any help or suggestions.
I am using Azure 'B2C', and users are creating successfully in B2C. And I am using dynamic web apps. ie, there is number of web apps are present.
sssss01.example.com
sss2.example.com
wwwss2.example.com........
When a user want to login using B2C, it's successfully login, but it reply url is not correct. I checked in azure, B2C app not supporting wildcard(*). So Is there any option to add wildcard, or any other method to manage pragmatically ?
Sign in reply url is different for different web apps.
Wildcard redirect URLs are not supported in OAuth2. See: why are redirect URLs fully qualified.
Unfortunately, we can't manage B2C programmatically.
You can upvote this item on User Voice and subscribe to stay updated: https://feedback.azure.com/forums/169401-azure-active-directory
Others have suggested this same feature but the User Voice forum appears to be down right now.
I am currently building a Google Assistant App/ Action using API.AI and node.js. My application needs to get permissions from the user, to get his Facebook likes and make FB Graph API calls from node.js. How can I do that? Do I need to build an android/ ios app for that?
You will need to implement account linking. However, you will not be able to use the Facebook OAuth directly but have to implement your own OAuth server. Your service will independently need to get the user to provide the Facebook OAuth credentials so you can use their API.