You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a sample Azure Function locally and deployed it to Azure. The function is working correctly, and I have tested it using the URL: https://<your-function-app>.azurewebsites.net/api/<your-function>?code=<your-function-key> and code+test.
I added Google authentication to the Azure Function App as shown below:
While accessing https://<your-function-app>.azurewebsites.net/, I encountered an error. I resolved this issue by using the URL https://<app-name>.azurewebsites.net/.auth/login/google/callback. After that, I was able to access the URL: https://<your-function-app>.azurewebsites.net/api/<your-function>. The Function App URL is now working as expected, and here are the logs:
However, in the Azure portal, under Code + Test, Get Function URL, and Integration, I am encountering the following error: Encountered an error (Forbidden) from extensions API.
@PesalaPavan In the Azure portal, under Code + Test, Get Function URL, and Integration, I am encountering the following error:
Encountered an error (Forbidden) from extensions API.
But by using the URL this https://.azurewebsites.net/.auth/login/google/callback Outside the azure. After that, I was able to access the URL: https://.azurewebsites.net/api/your-function . I need to resolve the error in Code + Test, Get Function URL, and Integration.
Type of issue
Other (describe below)
Feedback
I have created a sample Azure Function locally and deployed it to Azure. The function is working correctly, and I have tested it using the URL:
https://<your-function-app>.azurewebsites.net/api/<your-function>?code=<your-function-key>
and code+test.I added Google authentication to the Azure Function App as shown below:
While accessing
https://<your-function-app>.azurewebsites.net/
, I encountered an error. I resolved this issue by using the URLhttps://<app-name>.azurewebsites.net/.auth/login/google/callback
. After that, I was able to access the URL:https://<your-function-app>.azurewebsites.net/api/<your-function>
. The Function App URL is now working as expected, and here are the logs:However, in the Azure portal, under Code + Test, Get Function URL, and Integration, I am encountering the following error:
Encountered an error (Forbidden) from extensions API.
How can I resolve this issue?
Page URL
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/app-service/configure-authentication-provider-google.md
Content source URL
https://learn.microsoft.com/en-us/azure/app-service/configure-authentication-provider-google
Author
Rageking8
Document Id
2b2f9abf-9120-4aac-ac5b-4a268d9b6e2b
ms.topic: article
ms.date: 03/29/2021
ms.custom: fasttrack-edit, AppServiceIdentity
author: cephalin
ms.author: cephalin
The text was updated successfully, but these errors were encountered: