Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure AD works fine #50

Open
ppolushkin opened this issue Mar 23, 2019 · 1 comment
Open

Azure AD works fine #50

ppolushkin opened this issue Mar 23, 2019 · 1 comment

Comments

@ppolushkin
Copy link

ppolushkin commented Mar 23, 2019

I just checked your demo on Microsoft Azure AD and it works fine to me. The only think I touched is
configuration of ServiceProviderIssuer and IdentityProviderIssuer. I put my example here.

sp := &saml2.SAMLServiceProvider{
	IdentityProviderSSOURL:      metadata.IDPSSODescriptor.SingleSignOnServices[0].Location,
	ServiceProviderIssuer:       "myApp",
	IdentityProviderIssuer:      "https://sts.windows.net/some-guid/",
	AssertionConsumerServiceURL: "https://localhost:8080/api/sso-reply",
	SignAuthnRequests:           true,
	AudienceURI:                 "http://localhost:8080/api/sso",
	IDPCertificateStore:         &certStore,
	SPKeyStore:                  randomKeyStore,
}

Thank you! Hope it might help.

@angusshire
Copy link

My understanding was that the ServiceProviderIssuer and AudienceURI both refer to the SP entity ID. Are these two not the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants