Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Autherization with OAuth

How can I perform autherization with OAuth, like concpet of limited access?

For example, in calculator, some users can access only addition operation but some can access all other operations.

0 1 100
1 REPLY 1

Usually we would recommend you do that with some metadata attached to the user - like a group or a role, that is asserted by the Identity Provider.

This lab exercise shows how you might do that with a 3-legged OAuth flow.