Managing external identities to enable secure access for partners, customers, and other non-employees
The issue you're experiencing with the "Resend Code" button causing an infinite loading state in your React application using Azure Entra External ID with PKCE user flow may not be directly addressed in the provided context. However, here are some general troubleshooting steps you can consider:
- Check Network Requests: Use the browser's developer tools to monitor network requests when you click the "Resend Code" button. Ensure that the request is being sent and that you receive a valid response.
- Handle State Changes: Ensure that your application correctly handles the state changes after receiving the new verification code. The UI should update to reflect the new state instead of remaining in a loading state.
- Error Handling: Implement error handling in your code to manage scenarios where the loading state does not resolve. This can help provide feedback to the user if something goes wrong.
- Review Documentation: Check the Azure Entra documentation for any known issues or limitations regarding the "Forgot Password" functionality and the PKCE flow. There may be specific configurations or updates required.
- Testing in Different Environments: If possible, test the functionality in different environments (e.g., development vs. production) to see if the issue persists.
If the problem continues, consider reaching out to Azure support for more specific guidance related to Azure Entra External ID and the PKCE user flow.
References: