I'm Developing web Application that user can register by them self and log in after confirmation.i used AWS JavaScript for that it's working great.but since the access key is visible for everybody i planed to do it in Using PHP-AWS SDK.but why all the example aws providing foe EC2 or S3, i couldn't find any for cognito in php.can someone guide me or provide a basic example for this scenario..?
Currently Cognito supports high level SDKs for only for Android, iOS, and Javascript, but doesn't support high level SDK for PHP. You can use the low level PHP-AWS SDK which will give you access to calling the API methods. The methods found at the following link are accessible in the AWS SDK and can be called:
http://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.CognitoIdentityProvider.CognitoIdentityProviderClient.html
Related
We have a website hosted on Squarespace. We want to add sign-in/sign-up feature to our website using AWS Cognito.The Website supports our Mobile App that uses AWS Cognito User Pool. How can we integrate AWS Cognito in our Squarespace WebPage? What other methods might work to accomplish this?
There is no specific documentation available on Squarespace regarding third party integrations.
Because you can only add "client-side code" to a Squarespace site, and not server-side code, you can only integrate with third-party services if it A) it is within their rather limited and internally-curated list of extensions or B) it can be done entirely via JavaScript on the front-end.
You can't add server-side code
Server-side code is handled by a server, not by a browser, and
includes:
PHP, Ruby, Ruby on Rails, SQL
So you'd have to integrate the service using entirely client-side code, most likely using the AWS SDK for JavaScript, if that is possible. See the client-side authentication flow section here. The "Implicit grant" section here may also be applicable.
how to use AWS RDS in flutter dart code?
I went through - this post
It says -
I work on the AWS SDK team. I am not aware of any plans to support Flutter at this point. I will take this to my team as a feature request and will post back
Should I do as suggested here?
Build your own service layer using HTTP, gRPC that talks to some backend service that provides access to a data store. You can do this with Express, Rails, CloudFunctions, etc.
You can either use dart code to do HTTP/gRPC, or use Platform channel to wrap dart code around native iOS and Android code of AWS official SDK.
On another note, I'm highly concerned when you connect directly from mobile (Flutter) to database (AWS RDS). Please be aware that anything on mobile app can be reversed engineer, and your database connection credential is not safe. It's recommended to have only backend proxy, or at least severless (such as AWS lambda function) connect directly to database (not mobile or web frontend). The only exception is with Firebase Realtime Database because it has seamless integration with Firebase Authentication
I'm developing a game for iOS and Android using LibGDX. I would like to use Amazon Web Services and I haven't found if there is a library or a way to access API Gateway from my (:core) project.
I've worked with API Gateway in Android and iOS native projects and is very easy to implement it because Amazon has SDK Generation for both platforms. But since there's not a way to export for Java, it seems to bee a little tricky to make api calls from the core project.
I tried to use amazon skd for android inside (:core) but it didn't worked.
May be making a direct Http request using HttpURLConnection, but I don't know how to do it and although it won't map the response objects.
I don't have specific experience with LibGDX, but API Gateway helps you generate REST based APIs. There are a number of Java libraries that will help you interact with REST based APIs, such as rest4j. As you note, you will have to either forgo using API Gateway's Models or build your own marshalling code on top whatever solution you use for interacting with your API.
I am developing an app on both j2me and windows phone 8 platform and the app will need to access the Amazon SQS.
Of course this has to be done securely. I can only see the android and ios sdk, how do I securely (with the token vending machine) access the Amazon SQS on other platform other than ios and android?
While there is no TVM sample for C#, you may be interested in this blog post - http://notebookheavy.com/2012/04/19/amazon-simpledb-for-windows-phone-part-4-tvmclient/
The author has converted much of the Android implementation into C# and it may give you a head start.
You may also be interested in using web identity federation. This blog post explains how to use that with the AWS SDK for .NET.
My team is trying to develop a product for the google apps marketplace and I am having issues with the workflow in the new ADMIN SDK.
With the now deprecated Provisioning API we simply ask for a username and password from the account we are trying to manage.
With the ADMIN SDK it seems as though they would need to go enable the API, create a key and do a lot of manual work for this to happen. This really is a tough option for us as the technical level of our clients is not likely to be able to make this transition.
Is there something like the work flow for the provisioning API where they can enable management from a third party or a recommended workflow for a developer to build an application that can access any number of google apps accounts?
A use case for this is say I want to develop a different option for a console, I want to build a console web app and simply ask for credentials or easy setup routine and allow our users to manage their google apps account in a different way.
Thanks in advance,
Steve
The Admin SDK Directory and Reports APIs work correctly with 2-legged OAuth 1.0a which is what the Google Apps Marketplace currently supports and automates. You do need to turn the Admin SDK on under "Register for additional APIs" from your Vendor Profile page on the marketplace. Also, the Administrative APIs for the domain must be turned on. You'll get a generic error that the domain cannot use the APIs if it's off in which case you can direct the client to the exact CPanel page where they can turn it on.