I have this for configuration for my authenticato...
# talk-oathkeeper
k
I have this for configuration for my authenticator I want to generate now a bearer token where can I generate this and where can I find it?
Copy code
bearer_token:
    enabled: true
    config:
     check_session_url: <https://www.domain.be/sessions/whoami>
    preserve_path: true
    extra_from: "@this"
    subject_from: "identity.id"
    token_from:
      header: X-Session-Token
    forward_http_headers:
      - Authorization
      - X-Session-Token
m
Hello Maarten, the question is how to create a bearer token? What are you trying to do, what is the use case? Assume we have no idea what your goal is.
Btw if this is related to your Ory Network project, feel free to use the dedicated support channel #C05PHQCFL1F @kind-sugar-1935
k
I have to make that a mobile app can communicatie with my backend, there for I need to make that oathkeeper has to validate that bearer token
I have now this configuration but I am not sure what token I have to put it in
Copy code
bearer_token:
enabled: true
    config:
      check_session_url: <https://modest-stonebraker-q17n7vus16.projects.oryapis.com/sessions/whoami>
      preserve_path: true
      extra_from: "@this"
      subject_from: "identity.id"
      token_from:
        header: X-Session-Token
      forward_http_headers:
        - Authorization
        - X-Session-Token
fixed