Home > Enterprise >  ServiceStack Authentication with thirdy part token
ServiceStack Authentication with thirdy part token

Time:04-24


I’ve to implement authentication for our app. The app will be integrated in a thirdy part system that will send a token to our app.
We were thinking of making a call to the ServiceStack authentication service and if the response is positive continue with the code, otherwise show an error popup.
Is this the right implementation? Or do we need to use the authenticate attribute to trigger the authentication process? We confuse when to use the attribute and when not.. any explanation is welcome.
Thanks in advance

CodePudding user response:

You would call the Authenticate Service to Authenticate the HTTP Client using one of the registered Auth Providers, the Authenticate Attribute would only be used to protect services to ensure they can only be called by authenticated users.

  • Related