Skip to content

Allow st.user from headers #11384

@PaleNeutron

Description

@PaleNeutron

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

Allow use x-auth-xxxxx headers to build st.user instead of decrypt from OIDC token.

Why?

Current st.user is based on OIDC token, but in our environment we use oauth2-proxy to handle oidc login and work as auth module in ingress.

Our oauth2-proxy will set x-auth-xxxxx headers to request.

How?

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:authenticationRelated to user authenticationfeature:st.userRelated to `st.user` commandtype:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions