Hello,
I am implementing an app which uses services from the aws cloud as backend. Currently i am faced to some trouble with the receive of the access token. There is a aws-net-sdk with a helper extension, which gets all tokens (id, access,refresh). But it seems that the sdk does not allow to customize the scope of the accessToken. I wanted to grant access to the api gateway with custom scopes. If I receive the accessToken via aws api, there is only the aws.cognito.signin.user.admin scope included . And as far as I know does the aws sdks not support such things with the scopes. I saw in the aws doc, that there are oauth2 endpoints for doing the authentication and receive of the tokens manually. I never done something like that. Is there may be someone who knows how to add scopes to the accessToken in cognito or may be implemented an oAuth2 authentication manually (with cognito)? I would like to get some assistance. It would be very fine! :-)
↧
AWS Cognito authentication
↧