@Siti Norani • Thank you for reaching out.
Based on the error, it looks like you are using the Implicit flow and the id_token is not enabled for the application.
To enable the ID_Token issuance for the application, you need to navigate to:
Azure AD > Application Registration > Search and open your application > Authentication > Under Implicit grant and hybrid flows section > select the checkbox for ID token as hightlighted below:
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.