📗
Janus Manual
  • Introduction
  • Installation
    • Docker
  • Quick Start
    • Authenticating
    • Add an endpoint
    • Modify (Update/Delete) an endpoint
    • Add Plugins
    • Authentication
    • Adding your API - File System
  • Clustering/HA
  • Proxy Reference
    • Terminology
    • Overview
    • Routing capabilities
    • Load Balacing
    • Request Host header
      • Using wildcard hostnames
      • The preserve_host property
    • Request URI
      • The strip_path property
      • The append_path property
    • Request HTTP method
    • Routing priorities
    • Conclusion
  • Plugins
    • Basic
    • Organization
    • Body Limit
    • Circuit Breaker
    • Compression
    • CORS
    • OAuth
    • Rate Limit
    • Request Transformer
    • Response Transformer
    • Retry
  • Auth
    • OAuth 2.0
  • Misc
    • Health Checks
    • Monitoring
    • Tracing
  • Known Issues
    • Stale HTTP Keep-Alive
  • Upgrade Notes
    • 2.x to 3.x
    • 3.6.x to 3.7.x
Powered by GitBook
On this page

Was this helpful?

  1. Plugins

OAuth

PreviousCORSNextRate Limit

Last updated 4 years ago

Was this helpful?

Add an OAuth 2.0 authentication layer with the Authorization Code Grant, Client Credentials, Implicit Grant or Resource Owner Password Credentials Grant flow.

This plugin allows you to set the enpoints of an authentication provider. This means that Janus is not attached in any way to the oauth flow and it simply delegate that to the oauth server.

Note: As per the OAuth2 specs, this plugin requires the underlying API to be served over HTTPS. To avoid any confusion, we recommend that you configure your underlying API to be only served through HTTPS.

Configuration

To enable this plugin to your API you should configure an first!

Here is a simple definition of the available configurations.

Configuration

Description

server_name

Defines the oauth server name to be used as your oauth provider

OAuth Server