Identity providers that work with Cosmosdb [closed] - xamarin

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 months ago.
Improve this question
What identity providers work with CosmosDB? I have a Xamarin Forms Mobile app and an Angular 4 Web app that I want users to be able to log in to either to get at their data. I want to avoid having to right a massive middle wear program, but resource token broker app would be ok.
I am surprised that there is no native support for Azure AD B2C.
I have tried using Azure AD B2C MSAL but it doesn't work very well and it's very buggy. I would have thought this would have been high on Microsoft's to do list.

Cosmos DB supports master keys (a primary/secondary but both have full control) and "resource tokens". These resource tokens can be created by giving a user in Cosmos DB access to a specific resource.
See
https://learn.microsoft.com/en-us/rest/api/documentdb/access-control-on-documentdb-resources
https://learn.microsoft.com/en-us/azure/cosmos-db/secure-access-to-data
As for how to integrate with Azure AD B2C. There is no native integration, Azure AD B2C cannot by itself issue resource tokens for Cosmos DB. However I imagine you could implement a micro-service that would authenticate a user using Azure AD B2C, validate the ID token returned by Azure AD B2C and then use the Cosmos DB client library to generate a resource token.

Related

Is Youtube API licensed? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
We are planning to use youtube APIs in one of our applications. Is there any pricing applicable for consuming Youtube APIs ? Any there any kinds of limits that developer need to be aware ?
Please point to any documentation resources.
Thanks
MAdhu
For the most part the YouTube api is free to use. You should be aware of the usage quota and calculate what you need Quota cost The YouTube API is cost based so each request you make has a cost against your quota.
You can request an extension to your quota but i suggest you do it early as it can take time to get a quota extension.
You have not mentioned what your app is doing but if you are using Oauth2 in order to access private user data your app will need to go though the verification process verification Until your app has been verified you may only have 100 users authorize your application, and any videos uploaded by your application will be set to private.
Start the verification process early it can take a lot of time.

Is there an advantage of having a single google console API project for different apps/usage? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
What is the benefit of having different projects (console) than having a single project for all your different apps.
i.e
I have one project that is used for googlesheet auto update
I have another project that is used for google email automation
I have another project for scripting google Maps
vs a single project that is used for the sheet autoupdate, email automation and maps api.
Are the apps sharing quota limits?
The bigest thing in my opinion is the consent screen. When you request access from a user you are requesting access as an application
Now in this instance Google Oauth 2.0 playground would like permission to access my data. As a user i would assume then that only Google Oauth 2.0 playground would be accessing my data and not Super awesome other application under the same project.
Second issue will be quota. A number of the quotas are project based. So if you have a max of 50000 requests that the project can make and you have two different applications using with well. You are going to run out of quota twice as fast.

exposing rest services from the mean stack [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am creating a web app using one of mean.io or mean.js for a mobile web site. From my mobile apps I want to be able to create users of this app using rest web services. I want to access the mongodb with crud operations using restful api. With mean.io or mean.js do you get these services for free? or how would you implement them? I know express is part of this but I have not seen how exactly with mean stack you access these services. Assuming basic add/remove user is provided with mean.io or mean.js I would still like to know how to add more rest accessible services like say inventory etc that is linked to the user. Could someone point me in the right direction on this? Also is there difference between mean.io and mean.js in terms of rest services available by default and adding more rest services?
Don't bother just use strongloop.io

How to enable billing for Google cloud storage free quota [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I m a new android app developer, I m still trying out different google cloud APIs.Google provides free quota for cloud storage n datastore, but why do they force us to ENABLE BILLING for FREE quota for cloud storage? Why do I have to have an account with which I will never pay, since I m just trying the APIs with free quota. I dont have any International Debit/Credit card, its not easy to get one here, how do I try cloud storage ( create/edit,delete bucket/object)?
Is there any public bucket or object that I can try for testing app?
Credit/Debit cards are used for the purpose of verification , they donot want to encourage users to randomly create accounts like how its possible in case of Gmail service(since cloud platform services costs more) .There is no other way out , one gotto register with their debit/credit cards to get access , its the same in case of Amazon AWS services too .

Monitoring Azure Website [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I want to write a program that displays the monitoring data that you see on the Azure management portal.
The program should monitor Website and not storage or web/worker role
can Windows Azure API provide access to all the data that is exposed on the portal??
Please suggest how can I get started with this. Should I consider converting website to worker role?
Forgive me for the lame question as I am very new to Azure and Cloud
I don't believe the Windows Azure Website monitoring data is publically exposed at this time. Maybe once the service GA's?
If you want detailed metrics (performance counters), then you'll need to use a web/worker role.

Resources