The last story I wrote about using Cloud Endpoints for serving API from GKE Workload. However, my last posts are more utilizing the internal Google API Key and it may not fulfill your requirements. As there are a lot of ways to do authentication, I would suggest to explore from the documentation below:

Choosing an Authentication Method | Cloud Endpoints with OpenAPI

Cloud Endpoints supports multiple authentication methods that are suited to different applications and use cases. The…

cloud.google.com

There are several provided:

  1. API Key
  2. Firebase Auth
  3. Auth0 (this story is about)
  4. Google ID token Auth
  5. Service accounts
  6. Custom authentication

Last posts:

Now to explore more options for the external Auth, I would test using the Auth0 as the provider. They already provide some guidance and you may found one in the documentation earlier from Cloud Endpoints.

Secure Google Cloud Endpoints with Auth0

Google Cloud Endpoints (GCE) is an API management system providing features to help you create, maintain, and secure…

auth0.com

Now let’s see the difference: ( I am still using the same steps from earlier posts)

[One] Setup the Auth0 and create new API

Image for post

[Two] Capture the **test Token for Bearer **(Only for testing purposed)

Image for post

#auth0 #bearer-token #api-management #gcp #cloud-endpoints

Cloud Endpoints + Auth0 — For serving your service
1.90 GEEK