{"action":"opened","issue":{"url":"https://api.github.com/repos/auth0/auth0-servicestack-oauthprovider/issues/1","labels_url":"https://api.github.com/repos/auth0/auth0-servicestack-oauthprovider/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/auth0/auth0-servicestack-oauthprovider/issues/1/comments","events_url":"https://api.github.com/repos/auth0/auth0-servicestack-oauthprovider/issues/1/events","html_url":"https://github.com/auth0/auth0-servicestack-oauthprovider/issues/1","id":68928248,"number":1,"title":"Ability to validate tokens like the WebApi Implementation","user":{"login":"svantreeck","id":6819011,"avatar_url":"https://avatars.githubusercontent.com/u/6819011?v=3","gravatar_id":"","url":"https://api.github.com/users/svantreeck","html_url":"https://github.com/svantreeck","followers_url":"https://api.github.com/users/svantreeck/followers","following_url":"https://api.github.com/users/svantreeck/following{/other_user}","gists_url":"https://api.github.com/users/svantreeck/gists{/gist_id}","starred_url":"https://api.github.com/users/svantreeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svantreeck/subscriptions","organizations_url":"https://api.github.com/users/svantreeck/orgs","repos_url":"https://api.github.com/users/svantreeck/repos","events_url":"https://api.github.com/users/svantreeck/events{/privacy}","received_events_url":"https://api.github.com/users/svantreeck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-16T13:49:04Z","updated_at":"2015-04-16T13:49:04Z","closed_at":null,"body":"It would be great to be able to validate tokens like the webapi-jsonwebtoken project within servicestack instead of relying on it to authenticate the user to auth0.  This would enable a Javascript frontend like angular to pass its token to servicestack and allow it to be the backing api.\r\n\r\nI'm not sure if this is the appropriate project or if you'd want a separate implementation for JWT processing, but I have code in a gist at https://gist.github.com/svantreeck/436f6ddddda38c735c62 that I had modified from the WebApi project to work within servicestack\r\n\r\nTo enable within servicestack, you'd do:\r\n\r\n        Plugins.Add(new AuthFeature(() => new AuthUserSession(),\r\n            new IAuthProvider[] { \r\n                new JsonWebTokenAuthProvider(\"Auth0 Client Secret\", \"Auth0 Client ID\"), \r\n            }));\r\n\r\n\r\n\r\n"}}