Commit Graph

9 Commits

Author SHA1 Message Date
Aswin V
4b8d0c9094
set WantAuthnRequestsSigned to true (#137) 2023-01-13 11:25:23 +00:00
Deepak Prabhakara
fc5eca8091
added prefixes to idp metadata file (#104) 2022-11-14 09:55:39 +00:00
Deepak Prabhakara
73f45a6f92 dynamic validUntil date (10 years validity) 2022-10-29 14:21:12 +01:00
Deepak Prabhakara
331c3cf318
Switch to saml20 (#21)
* Use boxyhq/saml20

* use sign from saml20

* cleaned up GetKeyInfo

* cleaned up getPublicKeyPemFromCertificate

* cleaned up node-forge

* use hasValidSignature from saml20

* cleanup and update saml20 to the beta version

* throw an error if signature is not valid

* updated saml20
2022-04-26 18:02:12 +01:00
Kiran K
9bc55ea7f0
Validate AuthnRequest signature (#11)
* Validate AuthnRequest signature skelton

* Code refactor: Move the base64decode to common method

* wip

* Add signature validation

* Read the keys from config

* Lock dep version

Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2022-03-02 21:06:04 +00:00
Kiran K
88a14aeeb7 Build the metadata using the xmlbuilder (#3) 2022-02-28 17:39:52 +00:00
Deepak Prabhakara
4ec1bc044e Tweaks (#1)
* cleanup and pin versions

* tweaked metadata markers, formatted metadata, cleaned up .env.example file
2022-02-23 23:30:02 +00:00
Kiran
cb8b857008 Applied prettier 2022-02-22 11:44:12 +05:30
Kiran
c7fc57cc7e Add key pair 2022-02-21 21:53:43 +05:30