Closed MatteoGioioso closed 3 years ago
I was getting a similar 403 error and I figure I will share with the world so hopefully you learn from my mistakes... I simply typed in what I thought I saw from a YouTube video was a .
(${user.email}
), when in reality it is supposed to be a :
(${user:email}). This fixed it right up. Another reminder to copy and paste from the documents (specifically this document).
I am trying to setup a Custom SAML 2.0 application with AWS SSO. However I have the following error from network tab:
And this one displayed in the UI:
Two considerations that might cause this error:
or
If this still does not tell you anything then I will describe more below.
Update
I have also tried with using an EC2 instance using self signed certificate, but still the same issue.
Update 2
I have also provided valid AWS ACM certificates to my domain and it still does not work.
More details
This is the server code which is from the the library I am using
This server expose an endpoint where the IDP can get fetch my auto generated metadata.
Those are my metadata:
I have uploaded those into AWS SSO and it correctly parsed it, the following in the configuration of my AWS SSO Custom application:
When I hit the
localhost:9000/hello
the application will be successfully redirected to the AWS SSO login console, but the that error happens. I have also tested the application using this website: https://samltest.id/upload.php and it worked fine.PS: is there a way to debug this? I cannot how to inject a logger into the application