Dynamic C# API Client Login question #19339
-
I am using dynamic api client in a WPF application, and it can login automatically after configuring the user information in appsettings.json, this is the content of appsettings.json
But I want the user to enter the username and password manually, how can I achieve this? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
maliming
Mar 19, 2024
Replies: 1 comment 1 reply
-
hi You can get an |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
AndersChen123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi
You can get an
access_token
by username and password.(password flow)Then carry this token by overriding the
IIdentityModelAuthenticationService.