1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
1
Hi,
Cognito doesn't validate with external IdP during refresh token flow, if the refresh token that is issued by Cognito is still valid, end-user can continue to get new access and id tokens from Cognito without needing to re-authenticate with the external IdP.
If you have a use-case that requires validation with external IdP then I'd recommend using a short-lived refresh token (1 hour is the shortest TTL for refresh token) and this will force sign-in when token expires.
Conteúdo relevante
- feita há 23 dias
- feita há 2 meses
- feita há um mês
- feita há um mês
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há um ano
Thanks! That's what I assumed. In my case, I'd like to keep the long-lived refresh tokens for user convenience so I'm looking at ways to know if a federated identity has changed. Apple and Google both have some options:
https://developer.apple.com/documentation/sign_in_with_apple/processing_changes_for_sign_in_with_apple_accounts https://developers.google.com/identity/protocols/risc