aspnet / AspNetKatana

Microsoft's OWIN implementation, the Katana project
Apache License 2.0
967 stars 334 forks source link

How implements Authorization Code Flow ? #369

Closed CharlyIQar closed 4 years ago

CharlyIQar commented 4 years ago

Hello,

Have you an example of authorization code flow implementation for OpenId connection ?

I use implicit flow and I want migrate to code flow.

Thanks !

Charly

Tratcher commented 4 years ago
  1. Use package version 4.1
  2. Set the normal properties like client id, authority, etc.
  3. Also set the client secret
  4. Set ResponseType = OpenIdConnectResponseType.Code,
  5. Set RedeemCode = true
CharlyIQar commented 4 years ago

Thanks @Tratcher , it's ok !