Vladimir Enchev, March 08, 2018

Connect to Google Drive using Angular, REST services, OAuth and Radzen

This blog post demonstrates how to create an Angular app with Radzen that will access Google Drive using OAuth authorization!

  1. Create new OAuth credentials in Google Console for Web Application: image image image
  2. Create REST data-source with OAuth authorization in Radzen with following settings:
  • End point: https://www.googleapis.com/drive/v3
  • ClientID: Your ClientID from step 1.
  • Authorization Url: https://accounts.google.com/o/oauth2/auth
  • Scope: https://www.googleapis.com/auth/drive image image image
  1. Create new page, call getFiles() method on Page Load event and assign ${result.files} to files variable. image
  2. Drag and drop DataGrid component from Radzen toolbox, bind it to files and add desired columns. image
  3. Run the application, login using your Google credentials and browse your Drive files and folders. image image

Enjoy!

© 2016-2025 Radzen Ltd. All Rights Reserved.
Designed and developed with ❤️ in Radzen Blazor Studio.

Select theme:

Material 3