Hey Masum
I’m afraid that I haven’t used Amplify with Angular but I think AWS should provide UI components to help you with the login process like they do for React.
https://www.npmjs.com/package/@aws-amplify/ui-components#angular
If you want to go a more manual approach you will need to exchange that code for a ID token — that token will contain some core user info or you can then query the userinfo endpoint to get more detailed user info.