We created a push notification application service over a year ago, before there was a need for appGuid and client secret. However, now we need the client secret and app guid to work with a new application.
When we try to create the credentials, by using the dialog generated by 'New credential' button we end up getting null just like the image below.
Image with null for credentials
Is there any way to update the credentials without needing to create a new service.
Thanks.
Open your Push notification app and navigate to Manage->Configure and click on Mobile options to obtain the appSecret, clientSecret and appGuid.
Based on #Neeraj comment, You can get to your credentials by going to your push notification instance, then clicking manage on the outer left panel, then click Configure on the inner left panel and finally click on the Mobile options button.
Related
I am currently trying to implement an oauth flow within a Teams Messaging Extension. I use ASP.NET and I managed to make the sign in process work, by using the sign in card recommended by Teams.
ComposeExtension = new MessagingExtensionResult
{
Type = "auth",
SuggestedActions = new MessagingExtensionSuggestedAction
{
Actions = new List<CardAction>
{
new CardAction
{
Type = ActionTypes.OpenUrl,
Value = authUrl,
Title = "OAuth"
}
}
}
}
This card has a button that opens a specific popup window (a Teams webview) which I can relocate to the oauth authentication page of a third party site.
All this goes very well, but when the user tries to log out, in my case it is not enough to just revert the tokens I got from the server, I also need to navigate the user to the third party site's /forcelogout subpage in the exact same webview which I used in the sign in process, to make sure the cookies related to the previous login session are getting deleted. By this I can prevent the login form getting auto filled and submitted when the user tries to sign in the next time they use my Messaging Extension.
My problem is that I can not find any way to open that exact webview from the Messaging Extension (this problem only occurs on the Teams Desktop Client, since the web version of Teams uses browser tabs instead of webviews and iframes). I tried using Task Modules, the dialog module, adaptive cards but none of them could open that specific webview that has the cookies for the login form.
Do you have any solution for this?
Authentication provider could receive an optional parameter to always prompt the auth-form by neglecting the cookies.
Using this way there is no need to open any webview when the user logs out.
I am trying to use email verification in my Xamarin/Firebase app.
I currently have:
using (var actionCode = ActionCodeSettings.NewBuilder()
.SetHandleCodeInApp(true).Build()) {
await user.SendEmailVerification(actionCode);
}
This properly sends a verification email.
What I don't know is how to specify a callback in the app to catch user clicking on the verification link.
Any advice/guidance will be appreciated.
It's still unclear to me what's the point of the SetHandleCodeInnApp option. It seems to indicate that there is a way of handling the verification event in the app
Whether the email action link will be opened in a mobile app or a web link first. The default is false. When set to true, the action code link will be be sent as a Universal Link or Android App Link and will be opened by the app if installed. In the false case, the code will be sent to the web widget first and then on continue will redirect to the app if installed.
For more details, you could check the document. https://firebase.google.com/docs/auth/android/passing-state-in-email-actions
We are using the Microsoft MSAL library to authenticate our users. When a user needs to login, they are shown this dialog each time. Is there a way to disable this prompt so the login experience is more seamless?
This pop-up occurs anytime the app uses SFAuthenticationSession or ASWebAuthenticationSession, MSAL.NET does not control what is displayed there, as that is the point of the pop up, it is to initialize a private dialog with the user, outside of the app. From Apple's developer site: " users are prompted by a dialog to give explicit consent, allowing the application to access the website’s data in Safari. When the webpage is presented, it runs in a separate process, so the user and web service are guaranteed that the app has no way to gain access to the user’s credentials. "
#Jenny has the correct response. However, for using MSAL against Azure AD, using an embedded webview prevents the prompt from displaying.
The key is this line...
.WithUseEmbeddedWebView(true)
Here is a more complete example when acquiring the token interactively.
var authResult = await PCA.AcquireTokenInteractive(Constants.B2CConstants.Scopes)
.WithAccount(GetAccountByUsername(accounts, username))
.WithUseEmbeddedWebView(true)
.ExecuteAsync();
How do I change the developer's email that a new user gets when they sign-up for my site? See image below..
Will I have to completely set up a new firebase account with a different email address and change all the code corresponding with this one? Or is there another way?
If I'm understanding you correctly, you want your project to be associated with a different email, correct? If that's what you mean, then you can go to the Firebase console, click the gear>Users and Permissions, add the other email as the owner, accept the role with the other email, and then delete the original email you no longer want to associate.
Email id and all the other information that is appearing under Developer info popup can be changed in OAuth consent screen.
Here is the path:
"https://console.cloud.google.com/" -> "APIs & Services" -> "Credentials" -> "OAuth consent screen"
Here is the screenshot:
If the google login is setup through firebase then the developer's email shown on the popup can be updated by the following setps(shown by green marking in the diagram below):
Firebase console
Click the gear > Project settings
Select the General tab, under Public settings > update support email
Addition to that can be confirmed by following the step shown in the second answer
I had to follow the steps below:
Go to project settings
Add a new member
Complete the new member setup
From the General tab under Public settings you can choose the newly added member.
I created two app on Linkedin, but when i authenticate, it show two different dialog, i do not know why, can every body help me???????
1.the first app it show Authenticate Dialog:
http://www.freeimagehosting.net/do7xm
2.The second app it show Authenticate Dialog:
http://www.freeimagehosting.net/do7xm
I want to change the second app to authenticate the same first app, but i do not know, you can help me? Thanks
LinkedIn recently changed their authentication flow, introducing the concept of granular user permissions.
The second dialog you are seeing is using this new flow, which is tied to the application key. Basically, the first application is using a key that was issued prior to August 7th, you will see the old authentication screen; for newer application keys, you will see the new permissions-based screen.