* updated main.go script to reinitialize the permissions when the are existing or there is any update
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added few corrections and added better error logging
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added the checks for checking the existence of different components
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* started adding the Upsert function
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added upsert to role.go
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added tests and auditing
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* updated packages
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* updated go version
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added minor changes
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* added correction to role_test.go
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* corrected test cases
Signed-off-by: swastik959 <Sswastik959@gmail.com>
---------
Signed-off-by: swastik959 <Sswastik959@gmail.com>
* 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>
This include:
- Added DSN variable in initialize script.
- Fixes a dbDSN mistake in main.go file. And set default value to
dbDSN variable.
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
At a time of restarting Kratos pod, we noticed to update the Kratos
config we need modify something in IdP UI to trigger the
synchronizer. Instead this change will run synchronizer initially so
it will update Kratos config with database IdP entries if any.