i need to pass some more parameters to token endpoint as
grant_type=password&username=Alice&password=password123&peop1=value&Prop2=value
to get the token
How can i pass these and where i can get them on the server
i need to pass some more parameters to token endpoint as
grant_type=password&username=Alice&password=password123&peop1=value&Prop2=value
to get the token
How can i pass these and where i can get them on the server
Solution for OWIN but you can catch the idea.
Pass parameters:
Get them in your authorization server provider:
Don't forget to pass your authorization server provider in configuration:
OAuth2 resource owner password flow defines these parameters. If you need to do something else when authenticating a user you should look into the Implicit Flow -- that way you can code a custom login screen to accept any data you need from the user.
On your OWIN OAuthAuthorizationServerProvider you can catch your paramter like this :