Hi @Vivek Khadse
Public client apps don't need to provide 'client_assertion' or 'client_secret', make sure your app has enabled public client flows.
Go to Azure AD >App registrations > find your app > Authentication.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.