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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -