packages/auth-client: the product side of signing in through Accounts
Start a sign-in with the return path (state, nonce, PKCE), finish it, sign-out address, back-channel logout tokens and Accounts' signed user.* calls. Tested against the real provider. Root lint covers Accounts' backend. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Generated
+17
-3
@@ -63,6 +63,7 @@
|
||||
"zod": "^4.6.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@crosscode/auth-client": "*",
|
||||
"@types/bcryptjs": "^2.4.6",
|
||||
"@types/express": "^5.0.6",
|
||||
"@types/node": "^20.19.43",
|
||||
@@ -975,6 +976,10 @@
|
||||
"resolved": "apps/app",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@crosscode/auth-client": {
|
||||
"resolved": "packages/auth-client",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@crosscode/contracts": {
|
||||
"resolved": "packages/contracts",
|
||||
"link": true
|
||||
@@ -16297,7 +16302,6 @@
|
||||
"version": "3.8.8",
|
||||
"resolved": "https://registry.npmjs.org/oauth4webapi/-/oauth4webapi-3.8.8.tgz",
|
||||
"integrity": "sha512-8N28E+a/oxfXWBgOMt+ZP/JUf/XR+IFbvkAEPP3gznXOMv9BpAAwiIj0TFNz3tGTPc0ZQ8zmWBNgN1nAys0gng==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/panva"
|
||||
@@ -16578,7 +16582,6 @@
|
||||
"version": "6.8.9",
|
||||
"resolved": "https://registry.npmjs.org/openid-client/-/openid-client-6.8.9.tgz",
|
||||
"integrity": "sha512-6mXMRNJxDOf6BflEWLXul1UwzLFz++9Ofz1PYwPwwsJsyXBsbfkO+Jo255SW1qnFNLYz4EJWHz42X4OJJrya/g==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"jose": "^6.2.15",
|
||||
@@ -21261,6 +21264,14 @@
|
||||
"url": "https://github.com/sponsors/wooorm"
|
||||
}
|
||||
},
|
||||
"packages/auth-client": {
|
||||
"name": "@crosscode/auth-client",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"@crosscode/contracts": "*",
|
||||
"openid-client": "6.8.9"
|
||||
}
|
||||
},
|
||||
"packages/contracts": {
|
||||
"name": "@crosscode/contracts",
|
||||
"version": "1.5.0",
|
||||
@@ -21307,7 +21318,10 @@
|
||||
},
|
||||
"packages/ui": {
|
||||
"name": "@crosscode/ui",
|
||||
"version": "0.0.0"
|
||||
"version": "0.1.0",
|
||||
"peerDependencies": {
|
||||
"react": ">=19"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user