Skip to content
Discussion options

You must be logged in to vote

I think I figured this out. Posting this here in case someone else encountered the same scenario.

In order to make it work for domain B.com, you will need to create another Tinyauth service under that domain. So I kept the following setup:
Pocket ID: auth.A.com
Tinyauth for A.com: tinyauth.A.com
Tinyauth for B.com: tinyauth.B.com
App1: whoami.A.com
App2: whoami.B.com

And also

  1. modified the Pocket ID setting to add both https://tinyauth.A.com/api/oauth/callback/pocketid and https://tinyauth.B.com/api/oauth/callback/pocketid as callback URLs
  2. add both Tinyauth middleware tinyauth-A, tinyauth-B to Traefik configs
  3. route App1 to tinyauth-A middleware and route App2 to tinyauth-B middleware

Cor…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by junkaiman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants