Commit Graph

13 Commits

Author SHA1 Message Date
Deepak Prabhakara
ac113a2830 fixed publicKey extraction 2022-10-14 18:06:11 +01:00
Deepak Prabhakara
929fac62dd
check for missing signature and throw appropriate error (#80) 2022-10-12 19:11:50 +01:00
Deepak Prabhakara
2c428759ea
Update deps (#24)
* updated deps

* updated saml20
2022-07-26 22:48:29 +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
Deepak Prabhakara
b024b30f6e type fix 2022-03-02 21:37:16 +00: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
Aswin V
cc68eca2f8 Handle POST binding 2022-02-24 22:06:25 +05:30
Kiran
9b86ea8b2e Code cleanup 2022-02-23 19:18:20 +05:30
Kiran
cb8b857008 Applied prettier 2022-02-22 11:44:12 +05:30
Aswin V
4022901ea9 Add prettier config and format files 2022-02-22 11:06:06 +05:30
Aswin V
e25bb86413 parse SAML req 2022-02-22 11:05:42 +05:30
Kiran
c7fc57cc7e Add key pair 2022-02-21 21:53:43 +05:30
Kiran
aa76970fe7 cleanup util 2022-02-21 20:01:47 +05:30