Open cwanized opened 5 years ago
If you Need more Information or more detailed logs, please me know. I'd like to help where I can.
Can you try with an API token?
https://atlassianps.org/docs/JiraPS/about/authentication.html#api-token
Can you try with an API token? https://atlassianps.org/docs/JiraPS/about/authentication.html#api-token
I already had this in mind, but I thought this is only available for Jira(PS). But I can give it a try.
Just for my understanding, is it requried to Install JiraPS in parallel to ConfluencePS to use API token? Or does ConfluencePS supports that by it self?
You don't need to install both modules. I just didn't write the help for confluencePS yet
Did it work? Please update this issue. If not, I will close it next week
@cwanized -> did you manage to get it working? I unfortunately didn't
I did not have any luck with e-mail address & personal access token. All Get-ConfluencePage operations return 404. I'm not sure where to change the module to send Authorization: Bearer
I did not have any luck with e-mail address & personal access token. All Get-ConfluencePage operations return 404. I'm not sure where to change the module to send Authorization: Bearer .
The same problem with me
I've tried and it didn't work but this worked:
curl -H "Authorization: Bearer <mytoken>" https://wiki.company.com/rest/api/content
so the issue on ConfluencePs side
I've figured out how to fix it with PAT and Bearer auth usage (there's no support for that in ConfluencePS) I'm gonna make PR this weekend
@cwanized -> did you manage to get it working? I unfortunately didn't
Sorry no luck o far and sorry for the late reply
I've figured out how to fix it with PAT and Bearer auth usage (there's no support for that in ConfluencePS) I'm gonna make PR this weekend
@esterity I just tried your branch, but I still got the same behavior. Did you manage to resolve the issue? Do you proceed with your branch?
Thanks
Hi, it appeared to be more complex than I thought at first so I gave up for a while
Hi, it appeared to be more complex than I thought at first so I gave up for a while
Thanks for the reply
yeah, i'm stuck there too :)
did you managed to get it to work ?
Hi, have a look on commit https://github.com/esterity/ConfluencePS/commit/7e840011d24fb448d75f946041634825c94feb5c
Description
As it seems, ConfluencePS doesn't support yet if the corporate Wiki is behind ADFS authentication.
Get-ConfluenceSpace -SpaceKey "space_id"
raises exception:The actual issue appears in
ConfluencePs.psm1
Line 982. TheInvoke-Webrequest
delivers in$webResponse.Content
:^^ Your browser does not support JavaScript,
Press Continue to proceed...
This is because PowerShell doesn't run the JaveScript Code on the Server. Thats very likely the reason why the re-direction does not work.
Steps To Reproduce
Use ConfluenceWiki Server with ADFS Authentification
Expected behavior
Detection if ADFS used and support the occuring re-direct
Screenshots
*: https://sts.company.com is the internet-facing ADFS proxy
Your Environment
ConfluencePS: 2.5.0 PSVersion: 5.1.14409.1018 Confluence Server: 6.13.4
Possible Solution
-
Thanks