Skip to content

Delegating authentication to an upstream server when proxying #1070

@ramnes

Description

@ramnes

Hey!

Is it currently possible to delegate authentication to a backend MySQL server rather than validating credentials locally?

I would like to forward my go-mysql server authentication to an upstream server instead of storing/checking credentials in the proxy itself. The challenge I see is that the salt is generated in NewCustomizedConn before I have a chance to connect to the backend and use its salt.

If this isn't currently supported, how would you recommend approaching this? Happy to contribute a PR if there's a preferred direction. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions