Search Results :

×

Secure DNN REST APIs with API Authentication Methods

The DNN REST API Authentication plugin is a tool designed to protect your DNN REST API endpoints using various methods like Basic Authentication, OAuth 2.0 Authentication, JWT Authentication, API Key Authentication, and also 3rd Party Provider Authentication. This guide will help you configure secure authentication for your REST APIs on DNN, ensuring enhanced DNN REST API security.

  • To configure Authentication Methods for DNN REST API, you will need to install the miniOrange DNN REST API Authentication plugin from DNN store.
  • Upload the installation package by going to Settings > Extension > Install Extension.
  • Open any of the page on your DNN site (Edit mode) and click on Add Module.
DNN REST API Authentication Method- Click on Add Module

  • Search for DNN REST API and click on the DNN REST API. Drag and drop the module on the page where you want.
DNN REST API Authentication Method- Click on Add Module

  • You have finished with the Installation of the DNN REST API module on your DNN site.
  • Navigate to the DNN REST API Settings tab. Here, you will see the DNN REST API Plugin Dashboard.
DNN REST API Authentication Method- Plugin Dashboard

  • Click on the Security icon to configure authentication methods for your DNN API Authentication.
DNN REST API Authentication Method- Security Icon

  • Click on Add Application in the dashboard.
DNN REST API Authentication Method- Add Application

  • Select API Key authentication method.
DNN REST API Authentication Method- Select API Key as Autehntication Method

  • Enter the App Name and choose the header in which the API key will be sent.
DNN REST API Authentication Method- Save Configuration
  • Click on Save Configuration button.
  • You can copy the generated API key by clicking the Copy icon.
DNN REST API Authentication- Copy API Key

  • Here, you can see that the API Key authentication method has been successfully created and now it can be used to protect the DNN REST APIs.
DNN REST API Authentication Method- List of API

  • To update the API key value for the API Key authentication method, Click on Edit from the action dropdown.
DNN REST API Authentication Method- Edit API Key

  • Then click on Generate New API Key.
DNN REST API Authentication Method- Generate new API key

  • To remove the Authentication Method select Delete from the Actions dropdown from the respective row.
DNN REST API Authentication Method- Delete API key

This completes the setup of DNN API Authentication using API Key Authentication, one of the most reliable methods for REST API Security for DNN.


  • Click the Security icon to configure additional methods for DNN REST API Security.
DNN REST API Authentication Method- Security Icon

  • Click on Add Application.
DNN REST API Authentication Method- Add Application

  • Select Basic Authentication.
DNN REST API Authentication Method- Select Basic Authentication

  • Enter the App Name. Then select the Credentials Type and Encryption Method according to your requirements. Then click on Save Configuration.
DNN REST API Authentication Method- Select credential type and encryption method

  • Here, you can see that the Basic Authentication method has been successfully created and now it can be used to protect the DNN REST APIs.
DNN REST API- App List

  • To update the Credentials type and the encryption method for the Basic authentication method, you can click Edit from the Actions dropdown and do the modifications.
DNN REST API- Edit Credentials and Encryption Method

  • To remove Basic Authentication method, select Delete from the Actions dropdown.
DNN REST API Authentication Method- App List

  • With these steps, you’ve successfully configured REST API Authentication for DNN using Basic Authentication.

By following this guide, you will be able to configure secure authentication methods for your DNN REST APIs, using REST API security methods like API Key Authentication and Basic Authentication. These methods ensure your REST APIs remain protected and can be seamlessly integrated with other applications.



ADFS_sso ×
Hello there!

Need Help? We are right here!

support