Comments (8)
Hi @TrueGeek, I wasn't able to reproduce your problem. You may have a conflict in your dependencies. Do you have any other references to AWSSDK.CognitoIdentityProvider? Which version are you using? Are you using Xamarin, like the Stack Overflow question example you posted?
from aws-sdk-net-extensions-cognito.
I am using Xamarin, yes.
I have references to:
Amazon.Extensions.CognitoAuthentication (1.0.3)
AWSSDK.CognitoIdentity (3.3.101)
AWSSDK.CognitoIdentityProvider (3.3.103.16)
AWSSDK.Core (3.3.103.62)
from aws-sdk-net-extensions-cognito.
I have the same issue using Android.
Did you resolve it?
from aws-sdk-net-extensions-cognito.
Haven’t resolved it, but I haven’t had time to look at it either. Work has been keeping me busy this month and this is for a side project.
from aws-sdk-net-extensions-cognito.
Running into the same issue using Xamarin. Did you find a solution?
from aws-sdk-net-extensions-cognito.
I think I found the answer! You need to provide the credentials and RegionalEndPoint inside the var provider = new AmazonCognitoIdentityProviderClient(new AnonymousAWSCredentials(). For example like this
var provider = new AmazonCognitoIdentityProviderClient(new AnonymousAWSCredentials(constants.credentials, constants.RegionalEndpoint);qw
The credentials are what you have declared for Cognito to work
public static CognitoAWSCredentials credentials = new CognitoAWSCredentials(
"eu-west-<Your Pool ID>", // Identity pool ID
RegionEndpoint.EUWest2 // Region
);
from aws-sdk-net-extensions-cognito.
Hi @TrueGeek,
Good afternoon.
Please let me know if this is still an issue or if it could be closed.
Thanks,
Ashish
from aws-sdk-net-extensions-cognito.
This issue has not recieved a response in 2 weeks. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.
from aws-sdk-net-extensions-cognito.
Related Issues (20)
- There doesn't appear to be an ability to use UserContextData HOT 2
- CognitoUser.ListDevicesAsync() doesn't support returning pagination token. HOT 4
- `CognitoAuthHelper.GetAssemblyFileVersion` Expensive CPU Wise HOT 5
- Async methods should ALWAYS accept an optional cancellation token HOT 4
- Tag NuGet release commits HOT 2
- Include pdb and xml in NuGet package HOT 2
- Version 2.4.1 throws MissingMethodException when used with SignInManager HOT 4
- Refresh Token error - SecretHash does not match for the client HOT 9
- StartWithSrpAuthAsync Not Sync Safe HOT 9
- Verification codes other than the first one are not working HOT 4
- Unable to re-authenticate (not refresh) using the same device key HOT 7
- Avoid checking _access_ token expiry when trying to refresh access via a refresh token. HOT 7
- Recent change to use DateTime.UtcNow was a breaking change (at least for our application) HOT 11
- Custom Authentication Flow with SRP Password Verification HOT 7
- Extensions CognitoAuthentication Documentation HOT 4
- A deadlock occurs with Android and C# when trying to create a provider with Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderClient HOT 5
- Invalid Refresh Token when using Refresh Token with Device Tracking HOT 7
- NotAuthorizedException: SecretHash does not match for the client: xxxxxxxxxxxxxxxxxxx when trying refresh token flow HOT 4
- Missing Authentication Token when trying to use ListUsersRequest HOT 2
- UserNotConfirmedException - how to resend confirmation code for not completed signup in .NET HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-net-extensions-cognito.