How to invoke wiki content from another application as a link
Actual behavior
I am not finding a way to open a wiki doc page from another application
Expected behavior
I should be able to open a wiki page from my main application to show this page as a help information
Steps to reproduce the behavior
- I want to show a help button in my application.
- As I click on help icon, I want to open the respective wiki page
- I dont know how to get access to this page. If I provide direct URL it asks for user login info
Did you set defaultReadAccess to true in config.yml? That was in the docs...
auth:
defaultReadAccess: true
Make sure the public option is set to true in your config.yml.
Hi both,
thanks for your suggestions but it did not work.
- Upon setting defaultReadAccess, it still takes to login page
- Upon making public : true, it shows a forbidden page with link to login
- and yes, i restarted wiki server post the changes.
Here is the updated config.yaml
title: Wiki
host: <host>
port: <port>
paths:
repo: ./repo
data: ./data
uploads:
maxImageFileSize: 3
maxOtherFileSize: 100
lang: en
langRtl: false
public: true
auth:
defaultReadAccess: true
local:
enabled: true
google:
enabled: true
clientId: GOOGLE_CLIENT_ID
clientSecret: GOOGLE_CLIENT_SECRET
microsoft:
enabled: true
clientId: MS_APP_ID
clientSecret: MS_APP_SECRET
is there a way to call the pages with non interative user/password if I dont want to make it public ?
Make sure the Guest user has the proper read permissions. Otherwise the public option won't help.
is there a way to call the pages with non interative user/password if I dont want to make it public ?
No.