amplify-android
amplify-android copied to clipboard
Question: Get cognito user pool data
Hey,
is it possible to somehow access Cognito user pool data, such as PoolId
, AppClientId
and Region
?
I want to do some Cognito operations, by using "escape hatch" and I require AppClientId
. Is there a way to obtain this information, other than parsing amplifyconfiguration.json
on your own?
Hello @pm-nchain, thanks for reaching out. We don't support accessing the AppClientId
from the Auth plugin, please parse the config file -- we have a helper function AmplifyConfiguration.fromConfigFile(context)
and then config.forCategoryType(...)
to access the object structure of the config instead of parsing the JSON file directly, if that helps.
Closing this issue due to inactivity. Please feel free to open a new issue if required, thank you
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.