0

IdentityModel.OidcClient sends the request with the code_challenge already generated. I am testing the flow on postman to get the token after getting the auth code but I need the code_verifier, is it possible to get the code_verifier oidcclient used to generate the code_challenge?

Thank you

Sergio Solorzano
  • 476
  • 9
  • 29

1 Answers1

1

Courtesy of @leastprivilege You can call PrepareLogin which returns

https://github.com/IdentityModel/IdentityModel.OidcClient/blob/main/src/OidcClient/AuthorizeState.cs

Sergio Solorzano
  • 476
  • 9
  • 29