pateluday07 / saml-sso-and-slo-demo-idp-azure-sp-springboot

This project is to demonstrate how we can implement Single Sign-On (SSO) and Single Logout (SLO), by taking advantage of these resources: 1. Azure AD (Active Directory) as IDP 2. Springboot as SP 3. SAML (Security Assertion Markup Language) as SSO & SLO METHOD
34 stars 27 forks source link

AADSTS50011: The reply URL is not valid #5

Closed SaifKamaalAbulkhair closed 2 years ago

SaifKamaalAbulkhair commented 2 years ago

Hey,

Where do I configure the reply URL in the application? As of now, we have configured the Reply URL as AD side and it works for localhost:8080 only.

The moment we deploy the app on the server and change the reply URL to https://servername/appname i keep getting the below error

image

In my application.properties this is all that I have specified

SSO

service.provider.entity.id=AppName idp.metedata.url=https://login.microsoftonline.com//federationmetadata/2007-06/federationmetadata.xml?appid=d0f386-7e70-49c1-b4f7-XXXXXXXX saml.keystore.password= password saml.private.key.alias= alias saml.private.key.password: password saml.keystore.file=classpath:/saml/dev/samlKeystore.jks

Spring boot version is 2.5.5

Thnks

pateluday07 commented 2 years ago

Well I developed, this demo some time ago so I don't remember it, and I don't have access to Azure as of today, so I won't be able to help you.

biswajit576 commented 2 years ago

I am also getting same error.Could you help me on the above