Skip to content

Multi-tenancy with Oathkeeper #733

Answered by Benehiko
markrepedersen asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @markrepedersen,

I believe you can override the global oathkeeper configurations file inside your access rule as specified here.

This is your global cookie_session config:

# Global configuration file oathkeeper.yml
authenticators:
  cookie_session:
    # Set enabled to true if the authenticator should be enabled and false to disable the authenticator. Defaults to false.
    enabled: true
    config:
      check_session_url: https://session-store-host

This is your overridden cookie_session config

# Some Access Rule: access-rule-1.yaml
id: access-rule-1
# match: ...
# upstream: ...
authenticators:
  - handler: cookie_session
    config:
      check_session_url: https://session-store-hos…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@markrepedersen
Comment options

@Benehiko
Comment options

@markrepedersen
Comment options

@Benehiko
Comment options

Answer selected by vinckr
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