Gqlgen: Clean up the interfaces for dealing with authentication

Created on 25 Sep 2018  路  2Comments  路  Source: 99designs/gqlgen

https://github.com/99designs/gqlgen/pull/348 added websocket init payloads, but this means any auth context needs to be inside RequestMiddleware (not generic http middleware).

Conversely, RequestMiddleware doesn't have access to http cookies, so standard session auth can't happen inside.

Bit split brain, would be nice to polish this up before 1.0

cleanup stale

Most helpful comment

Any news about this issue?

All 2 comments

Any news about this issue?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings