You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, after a recent update (thanks for the #1295 btw), I was able to successfully (to some extent) deploy docs using docker and integrate it with my existing infra (Active Directory domain with ADFS as OIDC provider, truenas core with built in Minio instance).
But after trying to actually use the project i stumbled upon a few issues i'm actually not sure how to work around.
I was a bit surprise to find out that ADFS only returns the sub value on the userinfo OIDC endpoint. No name, nothing, and appaerently this behavior cannot be altered.
After some researching I found out that I can add custom claims to the id_token value, but if I understand this correctly, Docs doesn't support mapping values from the id_token to user properties (email, short_name or full_name).
I'm wondering if this may get implemented in the future, so Docs would be able to properly work with ADFS. Right now i'm stuck with having no nickname nor email assigned to my Docs user account.
giving up on getting usernames working, I started testing Docs functionality.
The issue for me is that I can't seems to get media working (images, videos). Docs is able to successfully upload ones to the S3 bucket hosted on my Truenas instance with help of Minio. But the URLs it puts in the markdown just return 404.
Example of the url:
I'm not exactly sure if this means something is wrong with my reverse proxy setup or configuration.
I ended up setting the reverse proxy configuration myself, as I couldn't really use the one from the examples as it conflicted with my exisitng setup.
So I'm trying to figure out if I have to proxy the media url to frontend or backend containers. Or directly to the minio instance. I'm really not sure on this, so i'd greatly appreciate someone more experienced leave some input.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So, after a recent update (thanks for the #1295 btw), I was able to successfully (to some extent) deploy docs using docker and integrate it with my existing infra (Active Directory domain with ADFS as OIDC provider, truenas core with built in Minio instance).
But after trying to actually use the project i stumbled upon a few issues i'm actually not sure how to work around.
I was a bit surprise to find out that ADFS only returns the
sub
value on theuserinfo
OIDC endpoint. No name, nothing, and appaerently this behavior cannot be altered.After some researching I found out that I can add custom claims to the
id_token
value, but if I understand this correctly, Docs doesn't support mapping values from theid_token
to user properties (email
,short_name
orfull_name
).I'm wondering if this may get implemented in the future, so Docs would be able to properly work with ADFS. Right now i'm stuck with having no nickname nor email assigned to my Docs user account.
giving up on getting usernames working, I started testing Docs functionality.
The issue for me is that I can't seems to get media working (images, videos). Docs is able to successfully upload ones to the S3 bucket hosted on my Truenas instance with help of Minio. But the URLs it puts in the markdown just return 404.
Example of the url:
I'm not exactly sure if this means something is wrong with my reverse proxy setup or configuration.
I ended up setting the reverse proxy configuration myself, as I couldn't really use the one from the examples as it conflicted with my exisitng setup.
So I'm trying to figure out if I have to proxy the media url to frontend or backend containers. Or directly to the minio instance. I'm really not sure on this, so i'd greatly appreciate someone more experienced leave some input.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions