sample-tenant

command
v0.0.0-test-multiarch Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

README

Command: sample-tenant

This program is a very basic example of a tenant client. The program will use a client secret to obtain an OAuth2 access token from the server, and then use the token to perform a call that requires authorization.

Usage:

Usage of sample-tenant:
  -addr string
        host:port of gRPC server to call (default "localhost:23557")
  -ca string
        path to Root CA certificate(s), PEM format X.509
  -client-id string
        OAuth2 client ID
  -client-secret string
        OAuth2 client secret
  -insecure
        don't verify TLS certificates
  -token-url string
        URL of OAuth2 token endpoint (default "https://localhost:8443/oauth2/token")

Documentation

Overview

Command sample-tenant provides an example tenant application, including auth.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL