Expire the bearer token after one use.

Hi,

Can we expire bearer token after one use not based on time.

2 Likes

No, you cannot configure a token to expire after one use. An OAuth token, whether opaque or JWT, has a time-based expiry.

But there are other ways you might be able to solve your problem. Can you elaborate on what you’re trying to accomplish?

2 Likes

You can try this - https://cloud.google.com/apigee/docs/api-platform/reference/policies/delete-oauth-v2-info

1 Like