Skip to content

Commit

Permalink
Upgrade Kratos dependency to v0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay196 committed Dec 5, 2022
1 parent 270e23c commit 4a44cf8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@material-ui/core": "^4.9.7",
"@material-ui/icons": "^4.5.1",
"@material-ui/lab": "^4.0.0-alpha.56",
"@ory/kratos-client": "^0.9.0-alpha.3",
"@ory/kratos-client": "0.10.1",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
Expand Down
4 changes: 2 additions & 2 deletions src/containers/Auth/Login/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class Login extends Component {
auth.username = username;

newKratosSdk()
.submitSelfServiceLoginFlow(flow.id, undefined, {
.submitSelfServiceLoginFlow(flow.id, {
csrf_token: this.state.csrf_token,
method: "password",
password_identifier: this.state.username,
Expand All @@ -258,7 +258,7 @@ class Login extends Component {

window.localStorage.setItem("provider", provider);
newKratosSdk()
.submitSelfServiceLoginFlow(flow.id, undefined, {
.submitSelfServiceLoginFlow(flow.id, {
csrf_token: this.state.csrf_token,
method: "oidc",
provider,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1595,10 +1595,10 @@
mkdirp "^1.0.4"
rimraf "^3.0.2"

"@ory/kratos-client@^0.9.0-alpha.3":
version "0.9.0-alpha.3"
resolved "https://registry.npmjs.org/@ory/kratos-client/-/kratos-client-0.9.0-alpha.3.tgz"
integrity sha512-AyfNz1P+6G/vS752BqvrRhLYJC1KtukuBUGGQdiMKXJjy+wGTt7Y3wvEIASbD/QyoGEyhIBCYtLbunpVE7VOaA==
"@ory/kratos-client@0.10.1":
version "0.10.1"
resolved "https://registry.yarnpkg.com/@ory/kratos-client/-/kratos-client-0.10.1.tgz#4957233e4ef6e1845e28765d32244ef89e69b93b"
integrity sha512-WfoEW1HKeKUkG+57oShb6D3xENM3DpRbUxvVxbPZkJUKzFlXpBzbX71k2oQ6ajv6cy0ULVEKFLNcHpAoGjraNA==
dependencies:
axios "^0.21.4"

Expand Down

0 comments on commit 4a44cf8

Please sign in to comment.