Skip to content

Commit df616ca

Browse files
authored
Merge pull request #50 from bcgsc/feature/keycloak-redirect-instructions
Add troubleshooting section
2 parents c5cdf64 + d78aac1 commit df616ca

7 files changed

+29
-6
lines changed

docs/faq.md renamed to docs/help/faq.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# FAQ
1+
# General FAQ
22

33
## How does Variant Annotation Work?
44

@@ -12,12 +12,12 @@ consists of the following steps
1212
- Follows inferences (ex. g. -> p.)
1313
- Pull statements for these variant records
1414

15-
[^1]: Only applicable to postional variants, these steps are skipped when matching category variants.
15+
[^1]: Only applicable to positional variants, these steps are skipped when matching category variants.
1616

17-
This allows an input like `KRAS:p.G12D` to match to all eqiuvalent forms of this variant. For example,
17+
This allows an input like `KRAS:p.G12D` to match to all equivalent forms of this variant. For example,
1818
in the demo database it would result in the following matches
1919

20-
![kras matching](./images/kras_variant_matching.png)
20+
![kras matching](../images/kras_variant_matching.png)
2121

2222
## How do I cite PORI?
2323

@@ -48,7 +48,7 @@ We welcome and encourage community contributions! If you have a feature request,
4848
If you are a developer and would like to directly add and work on features, please submit a ticket
4949
for any new features and indicate that you would like to complete it or comment on an existing ticket.
5050
Following discussion with the main developers you should fork the repository and then submit a pull request
51-
from your forked version to the main repository. Please see the developer contributing guidelines [here](./developer_reference/contributing.md)
51+
from your forked version to the main repository. Please see the developer contributing guidelines [here](../developer_reference/contributing.md)
5252

5353
## How Can I Try This Out?
5454

docs/help/troubleshooting.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Troubleshooting
2+
3+
The following page contains questions related to set up, install, and management of the PORI system.
4+
5+
## Keycloak
6+
7+
### Invalid parameter: redirect_uri
8+
9+
Valid redirect URIs are configured/set via the keycloak admin console. If you have set up the platform following the demo/dev instructions then you should already have the keycloak administrative console available over http. Go to http://localhost:8888/auth in your web browser and you should see something that looks like this. The user and password for this should be admin/admin for the [dev setup](https://github.com/bcgsc/pori/blob/master/docker-compose.dev.yml#L10).
10+
11+
![auth admin page](../images/troubleshooting-keycloak-redirect-uri-1.png)
12+
13+
Go the "Clients" in the left-hand side bar
14+
15+
![go to client page](../images/troubleshooting-keycloak-redirect-uri-2.png)
16+
17+
Click on the "GraphKB" client
18+
19+
![pick client](../images/troubleshooting-keycloak-redirect-uri-3.png)
20+
21+
Scroll near the bottom on that page and you will find the "valid redirect URLs" where you need to add your host
22+
23+
![change valid redirects](../images/troubleshooting-keycloak-redirect-uri-4.png)
59.3 KB
Loading
65.8 KB
Loading
85 KB
Loading
57.2 KB
Loading

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ nav:
5050
- demo.md
5151
- install.md
5252
- repos.md
53-
- faq.md
5453
- ... | graphkb/**
5554
- ... | ipr/**
5655
- ... | variant_notation/**
56+
- ... | help/**
5757
- ... | developer_reference/**

0 commit comments

Comments
 (0)