{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/Security/issues/1770","repository_url":"https://api.github.com/repos/aspnet/Security","labels_url":"https://api.github.com/repos/aspnet/Security/issues/1770/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Security/issues/1770/comments","events_url":"https://api.github.com/repos/aspnet/Security/issues/1770/events","html_url":"https://github.com/aspnet/Security/issues/1770","id":326556116,"number":1770,"title":"Use JWT token cookie in combination with Authorize attribute","user":{"login":"marcuslindblom","id":319720,"avatar_url":"https://avatars1.githubusercontent.com/u/319720?v=4","gravatar_id":"","url":"https://api.github.com/users/marcuslindblom","html_url":"https://github.com/marcuslindblom","followers_url":"https://api.github.com/users/marcuslindblom/followers","following_url":"https://api.github.com/users/marcuslindblom/following{/other_user}","gists_url":"https://api.github.com/users/marcuslindblom/gists{/gist_id}","starred_url":"https://api.github.com/users/marcuslindblom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcuslindblom/subscriptions","organizations_url":"https://api.github.com/users/marcuslindblom/orgs","repos_url":"https://api.github.com/users/marcuslindblom/repos","events_url":"https://api.github.com/users/marcuslindblom/events{/privacy}","received_events_url":"https://api.github.com/users/marcuslindblom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-25T14:53:03Z","updated_at":"2018-05-25T14:53:03Z","closed_at":null,"author_association":"NONE","body":"I have two web applications, one API and one MVC application. From the web application I request a JWT token from the API using Javascript and store the response in a cookie. Then in the MVC application I would like to setup authorization using the JWT token. What is the best approach if I want to add security on a `Controller` using the `Authorize` attribute and how would I configure this in the MVC application?"}}
{"actor":{"display_login":"marcuslindblom"}}