Add support for OAuth2 scope parameter (#199)

* Add support for OAuth2 scope parameter

* Add description for OAuth2 scope parameter

* Update docs with OAuth2 scope parameter

* Make request params None if no scope
This commit is contained in:
jarik2995
2019-01-31 02:58:50 +08:00
committed by Henning Jacobs
parent 34bb4d6917
commit e265ca4d79
3 changed files with 7 additions and 1 deletions

View File

@@ -131,6 +131,8 @@ The following environment variables are supported:
Optional OAuth 2 authorization endpoint URL for protecting the UI.
``ACCESS_TOKEN_URL``
Optional token endpoint URL for the OAuth 2 Authorization Code Grant flow.
``SCOPE``
Optional scope specifies level of access that the application is requesting.
``CLUSTERS``
Comma separated list of Kubernetes API server URLs. It defaults to ``http://localhost:8001/`` (default endpoint of ``kubectl proxy``).
``CLUSTER_REGISTRY_URL``