mirror of
https://github.com/paralus/paralus.git
synced 2026-02-14 17:49:51 +00:00
* Upgrade kratos service to v0.10.1 Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com> * Upgrade kratos-client-go to v0.10.1 Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com> * generate password feature for kratos admin creation Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com> * Add forceReset property in user spec Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com> * added forcereset in the init script Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io> * Resolve conflicts Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com> * Stdout default admin password in initialize script Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com> * setting password for new user and sending default password in create user response Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io> * added new endpoint to service force reset flag update after resetting complete outside authz Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io> * removed unnecessary overhead in the forcereset endpoint and updated user type proto to remove unused fields Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Ory Kratos
This directory holds Ory Kratos configurations and scripts required for paralus.
Get Session token for development
Follow Development setup to start the Kratos server.
Create a temporary user and get session token:
go run development/session_main.go
{
"email": "dev+90197e7d-5f83-45e6-a2a5-86c2c76a42a7@ory.sh",
"password": "96d968dde1f24dcaad1c6162fa9ae040",
"sessionToken": "5xKgL33Oom9rmS4v9jkuAERn7yJHTLhY",
"tokenExpiry": "2022-02-24T07:16:21.169693497Z"
}
How to use token for authentication?
Start paralus server with DEV=false and add token to
X-Session-Token header while making request to access resources, for example:
curl -H 'X-Session-Token: 5xKgL33Oom9rmS4v9jkuAERn7yJHTLhY' http://localhost:11000/auth/v3/sso/idp