Commit c31d33b
External auth integration (#67)
* split out logindialog
* Include the error message in the login dialog
* Able to create markup for the storefront
* full login flow finished with hardcoding
* redirect to the initial screen where the login was prompted
* Able to keep state in a seperate place
* Update requests
* Change color on oidc buttons and fix up where the state is fetched
* Changes to the LoginDialog
* deal with loading states
* get rid of unused imports
* refactoring
* Lots of clean up
* Integrated @moltin/sdk types
* update the styling to work with the latest
* stretch the buttons in the form to the end
* Able to grab a single authentication profile before redirecting
* Able to fully login with the latest changes that have been made to the API
* remove oidc login
* local changes
* changes to allow for reference store build
* fixes to allow for build
* More fixes to allow for a build
* More changes to allow for a build
* Updates made
* remove the lcok file
* new lock file
* hax and remove social sharing button for now
* build works locally
* Change the redirect location when authenticating
* remove all console.logs
* use the same redirectUri
* fix the redirecturi being incorrect
* remove console.logs and remove comments
* remove usage of query-string
* add new line and uncomment out lines
* get rid of typing error
* remove comments and extraneous code
* add the SDK to test netlify
* Update the styles for the login button
* Make fixes
* add newline to end of file
* fix bug and refactor a bit more
* update the SDK
* add generic color for oidc buttons
* get rid of !important
* Update the way we are setting the state during redirection and update the SDK
* make function with more generic name
* change name in utilities
* [MT-1269] Update references to authenticationProfile to OidcProfile (#72)
* [MT-1269] Update references to authenticationProfile to OidcProfile
for the recent changes in the backend and the sdk
* new sdk
* Fixed yarn.lock integrity
* [MT-4238] authorization endpoint is now a query parameter. (#71)
* [MT-4238] authorization endpoint is now a query parameter.
update oidc parameters to be valid for either case.
* fix auth endpoint from profile url
* add comment
* use URL instead of strings
* fix scope param in login redirect
* OpenID Connect Proof Key Code Exchange (#74)
* Add support for PKCE when retrieving Customers Token.
* Add support for PKCE
* Add support for PKCE when retrieving Customers Token.
# Conflicts:
# src/LoginDialog/OidcUtilities.ts
* Add support for PKCE when retrieving Customers Token.
# Conflicts:
# src/LoginDialog/OidcUtilities.ts
* Fixed: сustomers can't sign in using password OIDC profile exists (#76)
* Updated yarn.lock js-sdk hashes
* Packed js-sdk
* Replaced sdk zip package with a beta dependency
* Fixed multiple calls to /token api (#80)
* Fixed issue where login dialog shows separator even when there are no oidc providers (#83)
* Update service.ts (#87)
* Updated js-sdk to 5.0.0
Co-authored-by: Dusan Radovanovic <dusan.radovanovic@elasticpath.com>
Co-authored-by: Matthew Kelly <40244217+epmkelly@users.noreply.github.com>
Co-authored-by: Andy Newman <andy0x2a@gmail.com>
Co-authored-by: Matthew Kelly <matthew.kelly@elasticpath.com>
Co-authored-by: Steve Ramage <49958178+steve-r-west@users.noreply.github.com>
Co-authored-by: Rostyk <34774987+rostyk-kanafotskyy@users.noreply.github.com>
Co-authored-by: dr-ep <drepgit@gmail.com>
Co-authored-by: dushan <74645325+dr-ep@users.noreply.github.com>
Co-authored-by: razkevich <razkevich8@gmail.com>
Co-authored-by: Rostyk <rkanafotskyy@gmail.com>1 parent 533512a commit c31d33b
File tree
19 files changed
+1358
-1662
lines changed- src
- LoginDialog
19 files changed
+1358
-1662
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
This file was deleted.
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
56 | 69 | | |
57 | 70 | | |
58 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments