OAuth1 has been officially deprecated by Google on April 20, 2012, but the Google Apps Marketplace documentation states that Marketplace apps have to use OAuth1 2 legged authentication. I would much prefer to use an OAuth2 Service Account for my application. Is there some way to assign a marketplace-approved service account for Marketplace applications ?
OAuth 2.0 with Marketplace Apps is not yet supported. See:
https://developers.google.com/identity-toolkit/v1/marketplace#oauth2
Related
We are developing the azure B2B Application to invite and access our Asp.net application that is hosted in the Azure. I checked the example https://github.com/Azure/active-directory-dotnet-graphapi-b2bportal-web which uses the ADAL for most of the operation. In the example from the above link, the MS Graph using an access token generated from the ADAL, but Microsoft recommends using the MSAL.
My question is Which one we have to use the for MS Graph in the ASP.net Application either ADAL or MSAL.
Both of them can help in handling Ms Graph, but MSAL provides multiple benefits over ADAL including incremental consent, richer single sign-on experiences, support for personal Microsoft accounts, use of standards-based protocols and so on.
Also, MSAL has good examples available for Ms Graph and easily implemented.
I agree with Hari above. Both MSAL/ADAL capable of working with MS Graph. But here's the key differences:
Active Directory Authentication Library (ADAL) integrates with the Azure AD for developers (v1.0) endpoint, where MSAL integrates with the Microsoft identity platform (v2.0) endpoint.
The v1.0 endpoint supports work accounts, but not personal accounts. The v2.0 endpoint is the unification of Microsoft personal accounts and work accounts into a single authentication system. With MSAL you can also get authentications for Azure AD B2C as well.
So MSAL enables developers to acquire tokens from the Microsoft identity platform endpoint in order to access secured web APIs. These web APIs can be the Microsoft Graph, other Microsoft APIs, third-party web APIs, or your own web API. MSAL is available for .NET, JavaScript, Android, and iOS, which support many different application architectures and platforms.
Hope this helps.
Which library do we have to use for integrating Azure AD in an iOS app - ADAL/MSAL ? Is MSAL an advanced version of ADAL with support for personal accounts also? Which one supports SAML 2.0 protocol ?
MSAL works with the AzureAD V2 endpoint, whereas ADAL works with the AzureAD V1 endpoint. You can find the difference here. Yes, MSAL allows personal accounts to sign in.
If you're migrating or updating an application that relies on SAML, you can't use Microsoft identity platform(MSAL). Instead, refer to the Azure AD v1.0 guide.
Iam developing a multi lingual application and planning to use google translator API. I was wondering if Google Translate API supports OAuth authentication or not, document is available for using key but no information is available regarding OAuth authentication.
Thanks
Now, we have an application with Google Docs Api and 2 legged oauth. However,we want to migrate to Google Drive Api which uses Oauth 2.0.
Can we use 2 legged oauth with Google Drive Api?
Is there any example?
You should use Service Accounts: https://developers.google.com/accounts/docs/OAuth2ServiceAccount
I just started looking into this and if I have any luck I will provide more info.
However, if you are using 2 legged oauth so you can work with google apps domain-wide then there is a published guide. I believe this is what the other answer was talking about.
Blog post explaining domain wide delegation: http://googleappsdeveloper.blogspot.com.es/2012/11/domain-wide-delegation-of-authority-and.html
Guide for the drive API: https://developers.google.com/drive/delegation
I have website which uses Oauth2 for communication with Google APIs. And it works fine.
Now i need to make it "Google Marketplace compliant" to be listed there. Googles docs says about Oauth or Federated Login, but it doesn't precised if Oauth2 works too.
Does anyone has experience in such integration? May i keep Oauth2 and add OpenID to work with Marketplace, or i have to rework it for Federated Login?
Thanks!
The answer is NO as of July 9, 2012. Google is in the process of adding OAuth2 for Apps Marketplace https://developers.google.com/identity-toolkit/v1/marketplace#oauth2
When you list your app in the marketplace, you will get a consumer key and secret which you can use for 2-Legged OAUTH for every google apps domain that installed your app. So the answer is YES.