microsoft-authentication-library-for-go
microsoft-authentication-library-for-go copied to clipboard
The MSAL library for Go is part of the Microsoft identity platform for developers (formerly named Azure AD) v2.0. It enables you to acquire security tokens to call protected APIs. It uses industry sta...
I have no idea what to do with this code https://github.com/AzureAD/microsoft-authentication-library-for-go/blob/9a63cc219c3822f23f3a54c62c1261b729a50536/apps/tests/devapps/authorization_code_sample.go#L37 The functions mentioned there don't exist. DefaultPublicClientApplicationOptions is not present in the code, except in the commented-out example...
How can I use multi-factor authentication, I got the below error: ```go 2023/03/20 16:53:18 http call(https://login.microsoftonline.com/organizations/oauth2/v2.0/token)(POST) error: reply status code was 400: {"error":"invalid_grant","error_description":"AADSTS50076: Due to a configuration change made by...
The current version only works with callbacks not containing URL paths. Also added a sample using the public AcquireTokenInteractive flow.
**Is your feature request related to a problem? Please describe.** When using `CreateAuthCodeURL` I can't set a challenge or state, so I have to manually add it to the URL....
Please see https://identitydivision.visualstudio.com/DevEx/_git/AuthLibrariesApiReview/pullrequest/4733 The gist of it is: - add a few metrics as part of `AuthenticationResult` such as "time spent in cache", "time spent in http" etc. - small...
We don't want every call to cache.ExportReplace.Export() to write to external storage. We want this only to happen if storage has changed. We always want to read back into the...
Client credential grant will only look up tokens in the cache if used with acquire token silent. It should instead do a default cache lookup, with the option to skip.
**Is your feature request related to a problem? Please describe.** I have implemented an auth service in my cli that orchestrates the use of the MSAL Go `public.Client` to provide...
Specifically `GetTenantDiscoveryResponse`...do we really need to know if all those end points are there? we should be able to create these values. cc: @abhidnya13
There are a series of TODOs that range from documenting why certain things happen to possible major bugs. These need to be removed. They can be found with a simple...