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

Issuer problem with ssocircle #233

Closed
omidgz opened this issue Nov 13, 2019 · 2 comments
Closed

Issuer problem with ssocircle #233

omidgz opened this issue Nov 13, 2019 · 2 comments

Comments

@omidgz
Copy link

omidgz commented Nov 13, 2019

I think I confused something!
Shouldn't issuer be equal to IdPMetadataURL ?

I had to do this:
mymiddleware.ServiceProvider.MetadataURL = *idpmetadataurl after create a new middleware. because of

saml/service_provider.go

Lines 309 to 312 in 29c9e64

Issuer: &Issuer{
Format: "urn:oasis:names:tc:SAML:2.0:nameid-format:entity",
Value: sp.MetadataURL.String(),
},

@crewjam
Copy link
Owner

crewjam commented Nov 13, 2019

No, these two URLs are different. The ServiceProvider's metadata URL is the URL of the metadata endpoint for your service. The IDP metadata is the URL of the metadata endpoint of the SSO provider.

@omidgz omidgz closed this as completed Nov 14, 2019
@omidgz
Copy link
Author

omidgz commented Nov 14, 2019

It was because circlesso gave me an invalid issuer error. It works fine with samltest.id. so it maybe is my configuration.

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