2 Respuestas
- Más nuevo
- Más votos
- Más comentarios
0
Hi,
It is not currently possible to implement oauth2 authorization code flow without using hosted UI for authentication, this is because there is no public API to retrieve the authorization code itself from Cognito and it has to be passed back to hosted UI after successful authentication.
If you want to use custom UI, you can either just use the SDK to authenticate users using InitiateAuth API or Amplify SignIn (this is not oauth2), or if you must use oauth2 then you need to build your oauth2 endpoints on top of Cognito APIs (similar to Amplify identity broker).
Contenido relevante
- OFICIAL DE AWSActualizada hace 7 meses
- OFICIAL DE AWSActualizada hace 7 meses
- ¿Cómo puedo resolver el error “Failed to start the job flow due to an internal error” en Amazon EMR?OFICIAL DE AWSActualizada hace un mes
- OFICIAL DE AWSActualizada hace un año
Are there any plans to add this functionality? To make a public API to retrieve the authorization code?