Closed ioeifcss closed 2 years ago
We do not have that, or plans to implement it. We do however have a feature upcoming that will allow you to specify a Microsoft graph query that will be executed on your behalf to populate the headers. So getting data from something like https://graph.microsoft.com/beta/me would be possible. Would that solve this for you?
That may work, yeah. Is there a timeline for when this new feature will be out? I can see there has been activity on the dev-dotnet6
branch which is promising
It should be soon. I'll defer to @danielkon96 for specifics
The dev-dotnet6
branch should have work completed by the end of the month. After that, the plan is to merge all our changes into dev and then eventually into master around the same time.
Brilliant stuff - looking forward to trying it out then!
@ioeifcss The latest changes have been pushed to master. Any feedback about the latest changes will be greatly appreciated!
With EasyAuth for PaaS Function/Web apps, one of the built-in endpoints you have access to is the
BASE_URL/.auth/me
._(where
BASE_URL
is something likehttps://foo.azurewebsites.net
)_This is quite useful when you're testing in your nonproduction environment and you need to get a real token out of AAD etc, similar to the example below:
Is there an equivalent within EasyAuthForK8s? The closest I could find was
BASE_URL/auth/me
which simply prints out my UPN and nothing else.