Can someone provide and example of how to use Cognito to provide an application with unauthenticated access.
Client application needs to be able to access certain AWS services by default.
The API examples appear to be focussed on API calls to create identity pools rather than actual application authentication.
Expected Behavior
There does not appear to be the equivalent
// Initialize the Amazon Cognito credentials provider
CognitoCachingCredentialsProvider credentialsProvider = new CognitoCachingCredentialsProvider(
getApplicationContext(),
"ap-southeast-2:xxxxxxx", // Identity pool ID
Regions.AP_SOUTHEAST_2 // Region
);
Describe the bug
Can someone provide and example of how to use Cognito to provide an application with unauthenticated access.
Client application needs to be able to access certain AWS services by default.
The API examples appear to be focussed on API calls to create identity pools rather than actual application authentication.
Expected Behavior
There does not appear to be the equivalent
// Initialize the Amazon Cognito credentials provider CognitoCachingCredentialsProvider credentialsProvider = new CognitoCachingCredentialsProvider( getApplicationContext(), "ap-southeast-2:xxxxxxx", // Identity pool ID Regions.AP_SOUTHEAST_2 // Region );
or ability to set the defaultServiceConfiguration
AWSServiceManager.default().defaultServiceConfiguration = USEast1ServiceConfiguration
Current Behavior
Unclear how to authenticate with Cognito using Swift SDK
Reproduction Steps
Unclear how to authenticate with Cognito using Swift SDK
Possible Solution
No response
Additional Information/Context
No response
AWS SWIFT SDK version used
0.5.0
Compiler and Version used
Xcode 14.1
Operating System and version
macOS 13.0.1