Commit Graph

81 Commits

Author SHA1 Message Date
Kiran K
f915a7672d
Redesigned the UIs with daisyui (#23) 2022-07-26 22:28:46 +01:00
Deepak Prabhakara
1fc945be3f added link to Github repo 2022-07-13 23:41:26 +01:00
Deepak Prabhakara
4acea7c223 updated to saml20 v1.0.1 2022-04-27 21:16:05 +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
fdaa190df4
Add Github actions (#15)
* Add Github actions

* Fix the docker build issue

* Remove the duplicate Github action

* only need runtime env vars during build

* ENV NEXT_TELEMETRY_DISABLED is a runtime env var

* Add missing keys to package.json

* Use the npm version as tag

Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2022-03-10 17:20:33 +00:00
Aswin V
cfe001ae50
Style fix (#18)
* Remove gray bg

* readOnly -> disabled

* gray bg for disabled state
2022-03-08 13:21:58 +00:00
Aswin V
0a5069ba7f
Check if router is ready (#17) 2022-03-04 11:51:24 +00:00
Aswin V
1129e3e022 Escape single quote 2022-03-04 00:25:02 +05:30
Deepak Prabhakara
60c1fe9bf9
Idp login (#13)
* Support IdP login

* added ldP login link

* tweaked layout

* redirectUrl -> acsUrl

* Added secondary button class

* Style and layout tweaks

* Add aria-hidden to svg

Co-authored-by: Aswin V <vaswin91@gmail.com>
2022-03-03 18:40:32 +00:00
Deepak Prabhakara
d1f6cba776 tweaked firstName and lastName 2022-03-02 23:50:03 +00:00
Deepak Prabhakara
b514f9d4bb added text in the login screen that explains it is a simulated login 2022-03-02 21:16:28 +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
Kiran K
eb0a0fe518
Add example.org to the domain list so that users can test multiple domains (#12)
* Add the email domain dropdown

* Fix #5

Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2022-03-02 21:02:13 +00:00
Deepak Prabhakara
e413c794f0 text tweaks 2022-03-02 20:53:00 +00:00
Deepak Prabhakara
73c1bdc813 fixed build when NEXT_PUBLIC_GTM_ID is not defined 2022-03-01 13:31:28 +00:00
Deepak Prabhakara
8b3971d000 fixed css formatting (Headwind was conflicting) 2022-03-01 12:35:42 +00:00
Deepak Prabhakara
3ccfb78692 format 2022-03-01 00:52:13 +00:00
Deepak Prabhakara
076949f856 added Google Tag Manager 2022-03-01 00:50:36 +00:00
Aswin V
b9608afa53 sort changes in classnames 2022-03-01 00:44:34 +05:30
Aswin V
1e0dd8feea Remove await 2022-03-01 00:44:19 +05:30
Aswin V
306ff42bc0 Fix contrast with box-shadow 2022-03-01 00:12:44 +05:30
Kiran
a78036151e Fix the css 2022-02-28 11:22:49 +05:30
Deepak Prabhakara
b342b21ae9 tweaks 2022-02-25 20:24:41 +00:00
Aswin V
ff4843ce9a Automatic class sorting with prettier 2022-02-24 23:46:45 +05:30
Aswin V
8bd9290b3c Refactor styles 2022-02-24 23:41:56 +05:30
Aswin V
bbe8647160 Cleanup and use system font 2022-02-24 23:31:35 +05:30
Aswin V
19871ee647 Use email hash to generate id 2022-02-24 22:53:35 +05:30
Aswin V
cc68eca2f8 Handle POST binding 2022-02-24 22:06:25 +05:30
Aswin V
0f06186989 Append domain before send 2022-02-24 13:34:55 +05:30
Aswin V
57b8b8b82d Style fixes 2022-02-24 11:50:40 +05:30
Aswin V
e34297136f Focus and highlight input on load 2022-02-24 11:50:00 +05:30
Kiran
3ec1c69f44 Removed the footer 2022-02-24 11:08:43 +05:30
Kiran
d4be9b83f9 Fix the default value 2022-02-24 10:09:15 +05:30
Kiran
e9b7228493 Style the index page 2022-02-24 09:46:49 +05:30
Kiran
369008c03f Add header and footer 2022-02-24 08:58:53 +05:30
Kiran
3f4fe06192 Code cleanup 2022-02-23 19:28:06 +05:30
Kiran
d344fcb1d2 Code cleanup 2022-02-23 19:27:26 +05:30
Kiran
9b86ea8b2e Code cleanup 2022-02-23 19:18:20 +05:30
Aswin V
e68b437a85 use saml req id 2022-02-23 18:05:58 +05:30
Aswin V
da494e066a Use 302 redirect 2022-02-22 15:50:13 +05:30
Aswin V
4f777fd08d Fix idpIdentityId 2022-02-22 15:50:01 +05:30
Aswin V
55d12727cc Replace current document 2022-02-22 14:03:22 +05:30
Aswin V
3fee129623 Merge branch 'main' of github.com:boxyhq/mock-saml 2022-02-22 13:51:31 +05:30
Aswin V
b64af7afff Login form submittion 2022-02-22 13:48:07 +05:30
Aswin V
628e760b8b Validate email and build SAML response 2022-02-22 13:47:41 +05:30
Aswin V
6f9bab1969 Redirect to login after req parsing 2022-02-22 13:46:54 +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
631a3b6884 Fix the signing -wip 2022-02-21 21:37:39 +05:30