Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsProvidersProvidersBasic Auth Web ApiBasic Auth Web Api
Previous
 
Next
New Post
7/12/2016 10:13 AM
 

Good Day,

I am using Basic Auth for my web api method, it works on DNN7 but does not work on DNN8.

Please assist

 
New Post
7/13/2016 6:26 PM
 
it would be helpful to get details about the error.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/20/2016 2:39 AM
 
Hi Sebastian,

I was getting "UnAthorized" Status code, when i was doing the web api calls,

Below is the link to the solution.

https://talkdotnet.wordpress.com/2016/09/19/upgrading-to-dotnetnuke-8-external-app-authentication-failures/
 
New Post
9/21/2016 4:52 AM
 
This solved our problems with the DNN WebAPI also. Thanks Tshwanelo Tladi!

DNN:

How come there is zero logging about these errors in the log4net log even with the log level turned up to maximum? Would have saved us days of error searching if we had just had some better info from the log than:

2016-09-19 16:56:48,329 [DEVELOPMENT][Thread:42][WARN] DotNetNuke.Entities.Tabs.TabController - Invalid tabId -1 of portal 0
2016-09-19 16:56:48,332 [DEVELOPMENT][Thread:42][WARN] DotNetNuke.Web.Api.StandardTabAndModuleInfoProvider - The specified moniker () is not defined in the system
 
New Post
2/9/2017 5:55 PM
 

The following is in the admin documentation. Perhaps it would have helped.


(Optional) Developers: Enable additional logging for advanced debugging, testing, or troubleshooting.
  1. Access the DotNetNuke.log4net.config file.
  2. In your DotNetNuke.log4net.config file, add the following logger lines after the </root> closing tag.
    
        <!-- The following is required to troubleshoot provider registration issues. -->
        <logger name="DotNetNuke.Web.Api.Auth">
            <level value="TRACE" />
        </logger>
        <!-- The following is required to troubleshoot failing Web API calls. -->
        <logger name="DotNetNuke.Dnn.AuthServices.Jwt">
            <level value="TRACE" />
        </logger>
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsProvidersProvidersBasic Auth Web ApiBasic Auth Web Api


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out