spring-authorization-server icon indicating copy to clipboard operation
spring-authorization-server copied to clipboard

How-to: Authenticate using SAML

Open ramonmalcolm10 opened this issue 2 years ago • 7 comments

Publish a guide or sample on How-to: Authenticate using SAML

ramonmalcolm10 avatar Jun 17 '23 21:06 ramonmalcolm10

@ramonmalcolm10 Please provide more details as the description provided is insufficient. What exactly do you want to see in the sample?

jgrandja avatar Jun 22 '23 14:06 jgrandja

Similar to how a example was done for authenticating with social provider. I would love for an example be shown on how to achieve same with SAML. Not sure if this response offer enough clarification but you can always let me know.

ramonmalcolm10 avatar Jun 24 '23 23:06 ramonmalcolm10

@jgrandja We implemented support for federating to a SAML asserting party or OIDC provider based upon the tenant's domain settings. I'd be happy to share code samples if it would be helpful.

ccobham avatar Aug 03 '23 20:08 ccobham

@ccobham Sure, that would be great if you can share some code samples.

jgrandja avatar Aug 14 '23 11:08 jgrandja

@jgrandja Do you have a preference as to how/where the code samples should be shared? After a bit of poking around I see you have an OIDC federation example at https://github.com/spring-projects/spring-authorization-server/tree/main/samples/demo-authorizationserver/src/main/java/sample/federation. I can submit a pull request with the SAML configuration defined in this package as well.

ccobham avatar Aug 15 '23 19:08 ccobham

@ccobham

I can submit a pull request with the SAML configuration defined in this package as well.

I'm not sure yet if we would merge the code into the demo sample. For now, can you provide a reference to a branch that includes the SAML integration. This way others can see the code as well. We can determine afterwards if we would merge the code or maybe just provide the code sample in the How-To guide.

jgrandja avatar Aug 18 '23 15:08 jgrandja

@ccobham Can you share your code samples?

codering avatar Nov 01 '23 11:11 codering