c# - use authorization token on multiple api websites -
i have created secured web api 2 website. have used oauth2 authenticate requests , works. authorization token (bearer) can use call data website. let's call authenticationwebsite
however...i need create multiple api websites. possible authenticate myself on authenticationwebsite authorization token , use token call data other api websites?
i have tried simple example , created website (mvc) gets authentication token authenticationwebsite when try data new website (from controller has authorize attrubute, unauthorize error.
i hope question clear.
ok figured out. important authentication server , resource server(s) have same machine key in web config.
Comments
Post a Comment