From the question I understand that you want to have an application using React that authenticates with Cognito using OIDC, uses the Cognito hosted UI and uses the implicit grant type.
This can be achieved, I am attaching the following documentation that goes over setting up the hosted UI with AWS amplify here (1). You can add an OIDC provider to your user pool by following the steps outlined in this documentation here (2). Lastly you can use an implicit grant, I am attaching the following documentation that goes over the difference between the types of grants available (3). One note to mention is that a PKCE challenge can be passed with an implicit grant but is not used because the /oauth2/token is not accessed. This is because implicit grants return the ID and access token directly and do not access the refresh token.
I hope you have a great rest of your day!
I am trying to log in through the Cognito hosted UI. I don't see such a function in the example, what should I do?Accepted Answerasked 3 months ago
Remember device to suppress MFA challenge using Cognito Hosted UIasked 2 months ago
How to efficiently retrieve tokens from Cognito while using amplify with react-native ?asked 9 months ago
Using same authentication with cognito and amazon connect in a app-webasked 2 months ago
Is there any way to display a "Confirm Password" field in the Cognito hosted UI?asked 9 months ago
Authorization code flow with custom UI and Cognitoasked 4 months ago
Cognito Hosted UI TOTP or Amplifyasked 9 months ago
Disable hosted UIasked 5 years ago
In AWS Amplify UI React after Login how to redirect to dashboard path login button in home page in react in different pageasked 5 months ago
How to use Amplify to authenticate against Cognito using the hosted UI and the implicit grant type?asked 7 months ago