update readme for redirect_uri errors
This commit is contained in:
parent
1205337dfa
commit
20cb08f538
37
README.md
37
README.md
@ -1,20 +1,5 @@
|
||||
# Redaction
|
||||
|
||||
## Swagger Generated Code
|
||||
|
||||
To re-generate http rune swagger
|
||||
|
||||
YOu need swagger-codegen installed `brew install swagger-codegen`
|
||||
|
||||
```
|
||||
BASE=https://dev-06.iqser.cloud/
|
||||
URL="$BASE"redaction-gateway-v1/v2/api-docs?group=redaction-gateway-v1
|
||||
rm -Rf /tmp/swagger
|
||||
mkdir -p /tmp/swagger
|
||||
swagger-codegen generate -i "$URL" -l typescript-angular -o /tmp/swagger
|
||||
cd /tmp/swagger
|
||||
```
|
||||
|
||||
## To Create a new Stack in rancher
|
||||
|
||||
Goto rancher.iqser.com: Select Cluster `Development`, go to apps, click launch and select `Redaction` from the `dev`
|
||||
@ -25,17 +10,25 @@ Add cloudflare certificate and specify a hostname to use `timo-redaction-dev.iqs
|
||||
|
||||
## Keycloak Staging Config
|
||||
|
||||
keycloak:
|
||||
authServerUrl: 'https://redkc-staging.iqser.cloud/auth'
|
||||
client:
|
||||
secret: 'a4e8aa56-03b0-4e6b-b822-8ac1f41280c4'
|
||||
- keycloak:
|
||||
- authServerUrl: 'https://redkc-staging.iqser.cloud/auth'
|
||||
- client:
|
||||
- secret: 'a4e8aa56-03b0-4e6b-b822-8ac1f41280c4'
|
||||
|
||||
## Default Testing URL
|
||||
|
||||
`https://timo-redaction-dev.iqser.cloud/`
|
||||
Hostname:
|
||||
`https://dev-04.iqser.cloud/`
|
||||
|
||||
timo-redaction-dev.iqser.cloud
|
||||
## Known errors
|
||||
|
||||
- In case of CORS or redirect_uri errors follow these steps:
|
||||
- Go to `<HOST>.iqser.cloud/auth/admin/master/console`
|
||||
- Login with `admin` and `admin1234`
|
||||
- In the left menu go to `Clients`
|
||||
- In the table click `redaction`
|
||||
- Find `Valid Redirect URIs` input
|
||||
- Under `/ui/*` add new value `http://localhost:4200/*`
|
||||
- **Save**
|
||||
|
||||
## Test Users
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user