mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-13 13:22:26 +00:00
Merge remote-tracking branch 'origin/fix-saml' into fix-saml
# Conflicts: # apps/login/src/app/login/route.ts
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@zitadel/proto": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
bind @zitadel/proto version to zitadel tag
|
|
||||||
@@ -475,11 +475,13 @@ export async function GET(request: NextRequest) {
|
|||||||
if (url && binding.case === "redirect") {
|
if (url && binding.case === "redirect") {
|
||||||
return NextResponse.redirect(url);
|
return NextResponse.redirect(url);
|
||||||
} else if (url && binding.case === "post") {
|
} else if (url && binding.case === "post") {
|
||||||
|
// Create form data after SAML standard
|
||||||
const formData = {
|
const formData = {
|
||||||
"RelayState": binding.value.relayState,
|
"RelayState": binding.value.relayState,
|
||||||
"SAMLResponse": binding.value.samlResponse,
|
"SAMLResponse": binding.value.samlResponse,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Convert form data to URL-encoded string
|
||||||
const formBody = Object.entries(formData)
|
const formBody = Object.entries(formData)
|
||||||
.map(
|
.map(
|
||||||
([key, value]) =>
|
([key, value]) =>
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# @zitadel/client
|
# @zitadel/client
|
||||||
|
|
||||||
|
## 1.0.7
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [97b0332]
|
||||||
|
- @zitadel/proto@1.0.4
|
||||||
|
|
||||||
## 1.0.6
|
## 1.0.6
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@zitadel/client",
|
"name": "@zitadel/client",
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @zitadel/proto
|
# @zitadel/proto
|
||||||
|
|
||||||
|
## 1.0.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 97b0332: bind @zitadel/proto version to zitadel tag
|
||||||
|
|
||||||
## 1.0.3
|
## 1.0.3
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@zitadel/proto",
|
"name": "@zitadel/proto",
|
||||||
"version": "1.0.3",
|
"version": "1.0.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"tasks": {
|
"tasks": {
|
||||||
"generate": {
|
"generate": {
|
||||||
"outputs": ["zitadel/**"],
|
"outputs": ["zitadel/**"],
|
||||||
"cache": false
|
"cache": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user