SharePoint Online Integration Component guideline, they mentioned to change OAuth 2.0 provider rule. But this error come "There was an error during grant authorization. Close this window and try again or contact your system administrator for details". I have generated client ID and secrete again and try, not connected to SharePoint.
***Edited by Moderator Marissa to update Platform Capability tags****