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
...
acquireOpts := []public.AcquireInteractiveOption{
public.WithRedirectURI("http://127.0.0.1:0"),
}
authResult, err = client.AcquireTokenInteractive(ctx, c.scopes, acquireOpts...) //make a new request to Azure AD
...
Expected behavior
Expect that redirect server listens on http://127.0.0.1:<port>
RFC8252 recommends to use loopback IP instead of localhost.
Actual behavior
Started redirect server listens on http://localhost:<port>
Configuring the Redirect URI in MS AD app to http://127.0.0.1 is not possible with current MSAL
Possible solution
Current default to localhost is fine. If acquireOpts contains public.WithRedirectURI("http://127.0.0.1:0") it should be considered.
Additional context / logs / screenshots
n/a
The text was updated successfully, but these errors were encountered:
Which version of MSAL Go are you using?
Microsoft Authentication Library for Go 1.3.2
Where is the issue?
Is this a new or an existing app?
c. This is a new app or an experiment.
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputRepro
... acquireOpts := []public.AcquireInteractiveOption{ public.WithRedirectURI("http://127.0.0.1:0"), } authResult, err = client.AcquireTokenInteractive(ctx, c.scopes, acquireOpts...) //make a new request to Azure AD ...
Expected behavior
http://127.0.0.1:<port>
Actual behavior
http://localhost:<port>
http://127.0.0.1
is not possible with current MSALPossible solution
Current default to localhost is fine. If acquireOpts contains
public.WithRedirectURI("http://127.0.0.1:0")
it should be considered.Additional context / logs / screenshots
n/a
The text was updated successfully, but these errors were encountered: