401 error in Google Calendar API using Auth0 and React

Hi, I use for login Auth0 (Google, LinkedIn, Facebook), and for Calendar started working with the Google Calendar API, after creating all connections, the login works fine but when I try to connect to the Calendar I see the 401 error (Unauthorized).


Hi @Mongor

Welcome to the Auth0 Community!

The issue that occurs for you may be that you are using the AccessToken provisioned by Auth0, which you need to use to gain the access token that would let you access the Google Calendar API. Check this doc page → Call an Identity Provider API

Thanks
Dawid

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.