docs: fixing incomplete sentence and old aud scope (#4202)

* docs: fixing incomplete sentence and old aud scope

* Update docs/docs/examples/secure-api/go.md
This commit is contained in:
Florian Forster
2022-08-16 15:13:15 +02:00
committed by GitHub
parent 9c37f39d43
commit cd4c61a6bb

View File

@@ -11,7 +11,7 @@ At the end of the guide you should have an API with a protected endpoint.
The client [SDK](https://github.com/zitadel/zitadel-go) will provides an interceptor for both GRPC and HTTP. The client [SDK](https://github.com/zitadel/zitadel-go) will provides an interceptor for both GRPC and HTTP.
This will handle the OAuth 2.0 introspection request including authentication using JWT with Private Key using our [OIDC client library](https://github.com/zitadel/oidc). This will handle the OAuth 2.0 introspection request including authentication using JWT with Private Key using our [OIDC client library](https://github.com/zitadel/oidc).
All that is required, is an API and its key JSON. But for complete All that is required, is to create your API and download the private key file later called `Key JSON` for the service user.
## Go Setup ## Go Setup
@@ -147,4 +147,4 @@ Content-Length: 59
Content-Type: text/plain; charset=utf-8 Content-Type: text/plain; charset=utf-8
OK 2021-08-24 13:13:33.131943 +0200 CEST m=+30840.911149251 OK 2021-08-24 13:13:33.131943 +0200 CEST m=+30840.911149251
``` ```