Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9242015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:29:31+00:00 2026-06-18T08:29:31+00:00

ServiceStack provides an example where the different methods of authentication are tested in code.

  • 0

ServiceStack provides an example where the different methods of authentication are tested in code. I was trying to build a simple browser test, just to see how it works.
I basically used this: ServiceStack Web Service with Basic Authentication and SetCredentials as a base template.

When I go to the metadata page, I see that Auth is listed as one of the available operations.

What do I need to enter as URL, to test whether Auth is working? For example localhost/ServiceStack.Hello/hello/suraj is what I typed in to test the hello world app. How do I test for authentication?

P.s: This is probably a Noob Question, so my apologies in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:29:32+00:00Added an answer on June 18, 2026 at 8:29 am

    See ServiceStack’s AuthTests.cs for examples on how to test BasicAuth with a C# client.

    If you want to do it manually you’ll have to use something like Fiddler that will let you manually specify the BasicAuth Authorization: Basic ... HTTP Header. See the wikipedia reference on HTTP BasicAuth for an example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just configured ServiceStack to use Mongodb for authentication like this locally public override
I'm just getting started with ServiceStack and, as a test case, I am looking
Looking at the ServiceStack.UseCases example project. I am trying to use the jsonserviceclient to
I have just started to use ServiceStack which is an amazing library. However, I
The ServiceStack AppHost provides a Funq.Container with which to register types that can be
I'm just discovering ServiceStack for the first time this weekend and I find it
Just discovered ServiceStack last months and i really enjoy working with this great framework.
ServiceStack includes the awesome MiniProfiler built in. However, it is a different version, compiled
I am experimenting with ServiceStack 's JSON engine. I grabbed the MonoTouch binary build,
In trying to configure ServiceStack.net to use Ninject as its IOC, I am getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.