Questions tagged [easy-auth]

30 questions
0
votes
1 answer

How to access my azure function with access token when using easy auth and identity server?

I'm trying out easy auth with a custom openid connect provider (identity server) and are trying to understand how I should be able to access my azure functions with an access token that I get from connect/token (using a password grant). I have added…
MilleB
  • 1,470
  • 2
  • 19
  • 32
0
votes
1 answer

Azure Functions Easy Auth & Google Access token

I'm trying to add Google authentication to my Azure Functions app which will be used from a Svelte static web app (SWA). The SWA uses Google Identity (https://accounts.google.com/gsi/client) to both authenticate and then retrieve an access_token.…
Wouter
  • 2,170
  • 1
  • 28
  • 58
0
votes
1 answer

Azure Authentication changes user sid when adding scopes

I have a Xamarin app that uses Azure AppService for auth. I did not use email scope for auth before, but now I have added it. Interestingly, once the email scope is added and user authenticates, the provider requests new consent with the new scope.…
Timur Sadykov
  • 10,859
  • 7
  • 32
  • 45
0
votes
0 answers

How to call React hook before any page load and call others hook after hook fulfillment?

I have a react web app and a .net core api hosted in Azure. I have added Easy Auth to both of them following this documentation. Once I login to my FE app I need to get an access token which I get by making a request to GET /.auth/me in order to…
0
votes
1 answer

How to access OAuth tokens in App Service token store /.auth/me server side?

I'm trying to access the full detail in the original OAuth token issued by the provider in Azure App Service EasyAuth /.auth/me per the MS docs: https://learn.microsoft.com/en-us/azure/app-service/configure-authentication-oauth-tokens I'm able to do…
dalchri
  • 97
  • 8
0
votes
1 answer

How to call a protected API from an Azure Function App using the identity of the authenticated caller (Service Principal) to the Function App?

I have a Node.js Azure Function App with a User Assigned Managed Identity. The Function App is configured to use the App Service-provided authentication mechanism ("EasyAuth") to authenticate incoming connections using AAD. The "Restrict Access"…
Jurjen
  • 149
  • 4
0
votes
1 answer

Missing authorization_uri in WWW-Authorize header in Azure Function EasyAuth

I have configured my Azure Function with the out of the box Azure AD identity provider. When an unauthenticated request is made, it is returning the WWW-Authenticate header showing the realm, but missing the authorization_uri. This makes it…
Kevin Stone
  • 133
  • 1
  • 4
0
votes
1 answer

Azure App Service Requires Login On Every Browser Close With Easy Auth Azure AD

I am running into an issue with every time I close my browser my app that is running on Azure App Services redirects to Microsoft Identity platform and requires a login. Desired behavior is that a user logins in once and doesn't have to if they…
0
votes
1 answer

Azure easy auth get user role based on AD user Id ASP.net core app WebAPI

I'm following link to make authentication and authorization. I able to create successfully token based on https://login.microsoftonline.com/{tenantID}/oauth2/token After that I calling GET API using sayhello. It's everything fine, but I want based…
0
votes
1 answer

Azure app service easy auth with Azure AD is not working for linux web app

Azure web app Easy auth (with Azure AD auth) is working for windows web apps, but not on Linux web app. After enabling the easy auth with Azure AD the web app url shows page not found. When I checked the web app logs, the container has started and…
Ravikumar B
  • 779
  • 1
  • 14
  • 25
0
votes
1 answer

Azure Function App using python: How to access user groups for authorization

I am very new to Azure Function Apps and OAuth so please bear with me. My Setup I have an Azure Function App with a simple python-function doing nothing else but printing out the request headers: import logging import azure.functions as func def…
0
votes
1 answer

Cache tokens in azure app service authentication (EasyAuth)

I'm using azure app service built in authentication to log in users to my web app. Since I have some pages that user can access without authentication I have allowed anonymous access in app service auth configuration. It works as intended for the…
0
votes
1 answer

How to secure Azure functions with OAuth for both humans and machines?

I have a functions app in azure that both a machine (client credential flow) and humans (authorization code flow) need to be able to authorize/authenticate against. Initially I was using easy-auth, Azures out-of-the-box solution for securing…
Gustav Eiman
  • 101
  • 2
  • 11
0
votes
1 answer

Is there a way to programmatically configure azure EasyAuth for AAD for an Azure Function App?

I am writing Azure CLI scripts to automate creating cloud-side components in Microsoft Azure. In particular, I am using the CLI to create Azure Function Apps. However, while I am able to create a Function App using the CLI, I have not been able to…
0
votes
1 answer

Using one client application for multiple web api's in different azure active directories

I have a client web application and a web api application registered in "AADirectory1" App registrations In order to use web api from client I did: Exposed API in WEB API App registration Added API permissions related to my WEB API for client…
amplifier
  • 1,793
  • 1
  • 21
  • 55
1
2