Commit Graph

96 Commits

Author SHA1 Message Date
Deepak Prabhakara
667ad21251 fixed text 2024-03-16 20:01:08 +00:00
Deepak Prabhakara
52eff472ad
show IdP login title (#542) 2024-03-14 13:09:44 +00:00
Deepak Prabhakara
feadffce44
updated saml20 (#534)
* updated saml20

* updated saml20
2024-03-08 13:34:09 +00:00
Deepak Prabhakara
895e61b55d
move createSAMLResponse to saml20 (#489) 2024-02-05 11:14:10 +00:00
Deepak Prabhakara
0ad3b3bfac
moved parsing of saml request to saml20 lib (#486) 2024-02-04 13:35:59 +00:00
Deepak Prabhakara
7ad7ec0186
fixed namespace login (#473) 2024-01-21 01:01:09 +00:00
Deepak Prabhakara
6fae8857b1
Add a namespace page to get unique entity ids for multi tenant use (#472)
* allow a unique entity id per org

* updated metadata url to support org

* org specific login

* org -> namespace

* updated node and alpine

* spacing tweak
2024-01-20 23:20:37 +00:00
Deepak Prabhakara
e497d14bc4 updated node, updated acs url to https://sso.eu.boxyhq.com/api/oauth/saml 2023-10-20 23:59:23 +01:00
Deepak Prabhakara
1c1e644ca0
added health endpoint (#345) 2023-10-10 20:09:53 +01:00
Deepak Prabhakara
d18cf70c47
bypass validation for GET request until we figure out how to exchange the public key with the SP (#159) 2023-03-24 23:01:42 +00:00
Deepak Prabhakara
9db5fed873
cleanup (#129) 2022-12-16 09:52:37 +00:00
dependabot[bot]
9bf042a4a8
Bump next from 12.3.1 to 13.0.2 (#101)
* Bump next from 12.3.1 to 13.0.2

Bumps [next](https://github.com/vercel/next.js) from 12.3.1 to 13.0.2.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v12.3.1...v13.0.2)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Upgrade Nextjs to 13

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kiran <kiran@boxyhq.com>
2022-11-08 09:03:16 +05:30
Kiran K
c5ab7761d1
Download metadata url (#91)
* Bump eslint from 8.23.1 to 8.24.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.23.1 to 8.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.23.1...v8.24.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump next from 12.3.0 to 12.3.1

Bumps [next](https://github.com/vercel/next.js) from 12.3.0 to 12.3.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v12.3.0...v12.3.1)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add Download Metadata URL

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 17:38:56 +01:00
Deepak Prabhakara
929fac62dd
check for missing signature and throw appropriate error (#80) 2022-10-12 19:11:50 +01:00
Kiran K
8d3459d126
Fix the mobile responsive issues (#25) 2022-07-27 08:52:38 +01:00
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