mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-14 07:27:39 +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") {
|
||||
return NextResponse.redirect(url);
|
||||
} else if (url && binding.case === "post") {
|
||||
// Create form data after SAML standard
|
||||
const formData = {
|
||||
"RelayState": binding.value.relayState,
|
||||
"SAMLResponse": binding.value.samlResponse,
|
||||
};
|
||||
|
||||
// Convert form data to URL-encoded string
|
||||
const formBody = Object.entries(formData)
|
||||
.map(
|
||||
([key, value]) =>
|
||||
|
@@ -1,5 +1,12 @@
|
||||
# @zitadel/client
|
||||
|
||||
## 1.0.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [97b0332]
|
||||
- @zitadel/proto@1.0.4
|
||||
|
||||
## 1.0.6
|
||||
|
||||
### Patch Changes
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@zitadel/client",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.7",
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@@ -1,5 +1,11 @@
|
||||
# @zitadel/proto
|
||||
|
||||
## 1.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 97b0332: bind @zitadel/proto version to zitadel tag
|
||||
|
||||
## 1.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@zitadel/proto",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@@ -3,7 +3,7 @@
|
||||
"tasks": {
|
||||
"generate": {
|
||||
"outputs": ["zitadel/**"],
|
||||
"cache": false
|
||||
"cache": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user