0

We are implementing a bot application which requires authentication with database. I want to use identity server for oauth token generation and connect with database.

When I try to authenticate with bot its always giving bad request exception and I am not getting any additional information. I able to authenticate with third party providers (google,fb,github..).

I followed some links of customizing identity server with own database but not able to authenticate with bot.

https://davidmatablog.wordpress.com/2018/07/19/securing-dotnetcore-2-1-web-api-with-identityserver4/

How to use existing DB with IdentityServer4

https://github.com/Microsoft/BotBuilder/issues/4703

https://aaronparecki.com/oauth-2-simplified/

JJ_Wailes
  • 2,207
  • 1
  • 9
  • 17
Anji V
  • 125
  • 2
  • 12
  • There is no information that could help solve the problem. Add [code](https://stackoverflow.com/help/mcve) and other helpful information. –  Dec 18 '18 at 15:20
  • Here the same question i posted using custom authentication but its not working. so i want to use identity server server for bot authentication(oauth string - generic oauth 2) (https://stackoverflow.com/questions/53606838/bad-request-while-authenication-in-bot-sdk4-using-own-generic-oauth-2-connection) – Anji V Dec 19 '18 at 14:45
  • Any update ? I'm having an issue as well with a custom IdentityServer backed with AzureAD authentication. When using Generic OAuth2, I get a Bad request from the Bot Framework redirect Uri – Loul G. Jan 20 '19 at 16:42
  • Actually the problem came from the fact that I was using a self-signed certificate for my authorization service. – Loul G. Jan 26 '19 at 11:29
  • We are using AAD B2C and are unable to finish the OAuth. has anyone else gotten this to work with B2C? – Anup Marwadi Jul 07 '21 at 22:29

0 Answers0