absinthe-socket icon indicating copy to clipboard operation
absinthe-socket copied to clipboard

Authentication/authorization examples

Open bruce opened this issue 7 years ago • 2 comments

We see questions about how, eg, tokens can be passed by clients to Absinthe. It would be useful to have code examples showing how this can be done for the various socket incarnations, across HTTP & WS.

bruce avatar Mar 24 '18 17:03 bruce

@bruce I can show how I handled it in Relay Modern. I'm not sure the client example makes sense outside the context of the elixir code. But I'll see what I can do. Where should I put it?

ssomnoremac avatar Mar 26 '18 03:03 ssomnoremac

@ssomnoremac If there are just a couple of files, can you just post them here in the thread? Otherwise a link to a separate repo would be great. Thank you!

sheharyarn avatar Sep 15 '18 01:09 sheharyarn