Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with Tiddlywiki doesn't work #4449

Open
ssveta7ak opened this issue Aug 9, 2023 · 0 comments
Open

Integration with Tiddlywiki doesn't work #4449

ssveta7ak opened this issue Aug 9, 2023 · 0 comments
Assignees
Labels
bug Something isn't working docs Docs update required

Comments

@ssveta7ak
Copy link

ssveta7ak commented Aug 9, 2023

What happened?

Integration with Tiddlywiki doesn't work.

Now Tiddlywiki requires URI-decoded authenticated-user-header.
https://tiddlywiki.com/static/WebServer%2520Parameter%253A%2520authenticated-user-header.html

Thus, the Pomerium integration with TiddlyWiki is not working at the moment.
It redirects to the HTTP Basic Authenticator instead of IdP.

Screenshot from 2023-08-09 17-37-39.png

What did you expect to happen?

How'd it happen?

  1. Ran x
  2. Clicked y
  3. Saw error z

What's your environment like?

pomerium: 0.22.2

What's your docker-compose.yaml?


  tiddlywiki_init:
    image: elasticdog/tiddlywiki:v5.2.0
    volumes:
      - ./wiki:/tiddlywiki
    command: ['mywiki', '--init', 'server']

  tiddlywiki:
    networks:
     main: {}
    image: elasticdog/tiddlywiki:v5.2.0
    # ports:
    #   - 8080:8080
    expose:
      - 8080
    volumes:
      - ./wiki:/tiddlywiki
    command:
      - mywiki
      - --listen
      - host=0.0.0.0
      - authenticated-user-header=x-pomerium-claim-email
      - readers=user@pomerium.com
      - writers=user@pomerium.com
      - username=user
      - password=password
    depends_on:
      - tiddlywiki_init

##What's your config.yaml?

    - from: https://wiki.localhost.pomerium.io
    to: http://tiddlywiki:8080
    pass_identity_headers: true
    policy:
      - allow:
          or:
            - email:
                is: user@pomerium.com

What did you see in the logs?


Additional context

Add any other context about the problem here.

@ssveta7ak ssveta7ak added the bug Something isn't working label Aug 9, 2023
@desimone desimone added the docs Docs update required label Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docs Docs update required
Projects
None yet
Development

No branches or pull requests

3 participants