@Kotynia, Dawid DAKOT
Thank you for the detailed post and I apologize for the delayed response!
Based off your error message AADSTS700051: response_type 'token' is not enabled for the application
, it looks like you took the correct troubleshooting steps of enabling the Implicit grant and hybrid flows (Access Token and ID Token). However, since you're still running into this issue, I'd recommend double checking the Application ID used within your code, and confirming that the application has Access Tokens and ID Tokens enabled.
I also checked our backend logs using the Correlation ID ...bd0c745755fc
and time stamp 2021-12-14 13:55:44Z
that was included in the error screenshot, and was able to get the full error message, which I'll share below.
Error Message:
The request failed with the following exception: UnsupportedResponseTypeImplicitFlowAccessTokenNotAllowed
Remediation:
The application requested an unsupported response type due to the following reasons: response_type 'token' is not enabled for the application. Application owner should go to the Azure portal or call MS Graph to enable the implicit access token grant.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
----------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.