github.com/hellofresh/janus@v0.0.0-20230925145208-ce8de8183c67/docs/plugins/oauth.md (about) 1 # OAuth 2.0 Authentication 2 3 Add an OAuth 2.0 authentication layer with the Authorization Code Grant, Client Credentials, Implicit Grant or Resource Owner Password Credentials Grant flow. 4 5 This plugin allows you to set the enpoints of an authentication provider. This means that Janus is not attached in any way 6 to the oauth flow and it simply delegate that to the oauth server. 7 8 > 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. 9 10 ## Configuration 11 12 > To enable this plugin to your API you should configure an [OAuth Server](auth/oauth.md) first! 13 14 Here is a simple definition of the available configurations. 15 16 | Configuration | Description | 17 |-------------------------------|---------------------------------------------------------------------| 18 | server_name | Defines the `oauth server name` to be used as your oauth provider |