servicestack-auth

Twitter Authentication in ServiceStack

最后都变了- 提交于 2019-12-25 07:13:49
问题 I added twitter Authentication in my ServiceStack Service. My Authentication as well as Service is working fine and i am getting redirected to my Service Page from Twitter Authentication page with success response. But i am not able to integrate this whole with my User Interface. There on button click event i want to successfully authenticated from twitter and after that want to get response from my service based on that i would redirect to my second webpage. Here is my web.config code..

ServiceStack and Auth0

瘦欲@ 提交于 2019-12-24 12:14:51
问题 I am looking to use Auth0 as the authentication provider for ServiceStack. There is a great sample application documented at Auth0 which applies & works well when working with ServiceStack and using ServiceStack.Host.MVC: https://auth0.com/docs/quickstart/webapp/servicestack/01-login. However, I am at a loss how to construct the authorization URL and redirect the user to that URL in a scenario where I am NOT using MVC & the AccountController to redirect the user. How can I construct the

ServiceStack authentication in tests

被刻印的时光 ゝ 提交于 2019-12-11 19:55:54
问题 I want to be able to test my Servicestack endpoints using basic or credentials auth but don't want to have to login for each test, save the ss-id and then use that to actually exercise the end point. Ideally I would be able to create a user using something like (this already works using credentials auth) http://devapi.someapi.com/register?username=blah&password=test&x-http-method-override=POST then actually hit a secured url with something like: http://devapi.someapi.com/users/123?username