clever-ice-6330
04/13/2023, 3:48 AMECONNREFUSED
connection error while attempting to deploy on a local Kubernetes cluster in Docker-Desktop w/ Helm and using Self Service UI Node (more details in the thread).clever-ice-6330
04/14/2023, 6:58 AMcold-evening-80162
04/18/2023, 12:55 PMbright-hairdresser-80168
04/19/2023, 8:20 AMgray-machine-46287
04/19/2023, 3:05 PMquaint-pager-64027
04/24/2023, 4:57 PMhelpful-toddler-83502
04/24/2023, 6:24 PMgorgeous-helmet-33794
04/25/2023, 12:00 PMswift-island-66287
04/26/2023, 6:07 AMvictorious-eye-56567
04/26/2023, 4:58 PMkubectl --namespace ory port-forward svc/keto-read 4466:80
My issue is that all endpoints I am calling always return a 404 error and I can’t figure out what is going wrong.
As I said, I can see the requests in the logs so I suspect that there is a misconfiguration in the endpoints or maybe even in which protocol is used.
I try to interact with the API using HTTP. From what I understand, the basic configuration is GRPC.
So maybe there is a mismatch on the protocol level ?
I am posting my values-yaml file in a thread.
Any help would be appreciated!gorgeous-helmet-33794
04/27/2023, 10:24 AMoidc:
config:
providers:
- id: apple
provider: apple
client_id: "<http://xxx.xxxx.xxx|xxx.xxxx.xxx>"
apple_team_id: "xxxxxxxxxx"
apple_private_key_id: "xxxxxxxxxx"
apple_private_key: |
-----BEGIN PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxx
-----END PRIVATE KEY-----
issuer_url: "<https://appleid.apple.com>"
mapper_url: "file:///etc/config/apple.jsonnet"
scope:
- email
I get this error in Kratos.
The configuration contains values or keys which are invalid:
I don't know what i am doing wrong 😔gorgeous-helmet-33794
05/01/2023, 6:21 PMhigh-rose-8124
05/02/2023, 10:17 PMblue-caravan-99316
05/03/2023, 3:44 PM{"identity":{"metadata_admin":{"groups":[{"id":1,"role":"user"}]}}}
(verified it) with correct headers and Kratos debug logs says "ExecutePostRegistrationPrePersistHook completed successfully.". According to the docs (link) Kratos should update the admin metadata of this user, but the content doesn't change – and no errors in the logs.
How to best debug this? 🙏 I already have logs set to debug but I can't see any issues.wide-dawn-74672
05/03/2023, 4:37 PMwide-dawn-74672
05/03/2023, 4:38 PMacoustic-father-92306
05/09/2023, 7:48 AMcreateBrowserLoginFlow
, filling the data and using the provided action
url) I get a CORS error response.
Here is my kratos.yml:
version: v0.13.0
dsn: memory
serve:
public:
base_url: <http://127.0.0.1:4433/>
cors:
enabled: true
allowed_origins:
- <http://127.0.0.1:3000> # ui
- <http://127.0.0.1:4433>
allowed_methods:
- POST
- GET
- PUT
- PATCH
- DELETE
- OPTIONS
allowed_headers:
- Authorization
- Content-Type
- X-Session-Token
- Cookie
- Access-Control-Allow-Origin
exposed_headers:
- Content-Type
- Set-Cookie
allow_credentials: true
admin:
base_url: <http://kratos:4434/>
selfservice:
default_browser_return_url: <http://127.0.0.1:3000>
allowed_return_urls:
- <http://127.0.0.1:3000>
methods:
password:
enabled: true
totp:
config:
issuer: Kratos
enabled: true
lookup_secret:
enabled: true
link:
enabled: true
code:
enabled: true
flows:
error:
ui_url: <http://127.0.0.1:3000/auth>
settings:
ui_url: <http://127.0.0.1:3000/auth>
privileged_session_max_age: 15m
required_aal: highest_available
recovery:
enabled: true
ui_url: <http://127.0.0.1:3000/auth>
use: code
verification:
enabled: true
ui_url: <http://127.0.0.1:3000/auth>
use: code
after:
default_browser_return_url: <http://127.0.0.1:3000/auth>
logout:
after:
default_browser_return_url: <http://127.0.0.1:3000/auth>
login:
ui_url: <http://127.0.0.1:3000/auth>
lifespan: 10m
registration:
lifespan: 10m
ui_url: <http://127.0.0.1:3000/auth>
after:
password:
hooks:
- hook: session
- hook: show_verification_ui
log:
level: debug
format: text
leak_sensitive_values: true
secrets:
cookie:
- PLEASE-CHANGE-ME-I-AM-VERY-INSECURE
cipher:
- 32-LONG-SECRET-NOT-SECURE-AT-ALL
ciphers:
algorithm: xchacha20-poly1305
hashers:
algorithm: bcrypt
bcrypt:
cost: 8
identity:
default_schema_id: default
schemas:
- id: default
url: file:///etc/config/kratos/identity.schema.json
courier:
smtp:
connection_uri: <smtps://test:test@mailslurper:1025/?skip_ssl_verify=true>
Can you help me?acoustic-father-92306
05/11/2023, 11:30 AM/admin/...
on a local Docker Kratos API. And if yes how 🙂
I have CORS error
and in the kratos.yml
serve.admin.cors
setting is not available...
Also is there a way to create API key for the local Docker admin API?swift-painter-42301
05/11/2023, 3:13 PMgifted-airplane-80186
05/12/2023, 8:59 AMthankful-secretary-66849
05/15/2023, 1:30 AMwide-painting-6066
05/16/2023, 2:31 AMgifted-airplane-80186
05/16/2023, 12:22 PM$kratosConfiguration.selfservice.methods.oidc.config.providers[$oidc_provider_of_the_user].id
do you know a way to do that ? maybe with jsonnet ?fierce-advantage-32807
05/18/2023, 11:40 AMcalm-night-77093
05/21/2023, 10:04 AMfancy-market-12061
05/22/2023, 5:19 PMgreen-jewelry-10349
05/24/2023, 7:31 AMgreen-jewelry-10349
05/24/2023, 11:05 AMblue-caravan-99316
05/24/2023, 12:21 PMhooks:
- hook: web_hook
config:
(...)
response:
ignore: false
---> parse: true
No longer supported? Doesn't validate with Kratos v0.28, but according to docs (link) it should. Prevent me from preventing user signups w/o terms and conditions accepted.green-jewelry-10349
05/26/2023, 10:11 AMError: error executing migrations/sql/20210817181232000006_unique_credentials.mysql.up.sql, sql: ALTER TABLE `identity_credential_identifiers` MODIFY `identity_credential_type_id` char(36) NOT NULL;: Error 1832 (HY000): Cannot change column 'identity_credential_type_id': used in a foreign key constraint 'identity_credential_identifiers_type_id_fk_idx'