sangria-graphql / sangria-relay-playground

An example of GraphQL server supporting Relay written with Play and sangria
Other
17 stars 11 forks source link

Example with authentification #3

Open rubenfiszel opened 8 years ago

rubenfiszel commented 8 years ago

Hello,

It would be really nice if you made an example with authentification as it is the starting point of many application and a good way to showcase the possibilities of sangria-relay.

It could integrate nicely with:

OlegIlyenko commented 8 years ago

Have you already saw this example: https://github.com/OlegIlyenko/sangria-auth-example? It's not a relay-based schema, but one can take the same approach in a relay application as well.

This example is documented here: http://sangria-graphql.org/learn/#authentication-and-authorisation

rubenfiszel commented 8 years ago

I didn't and it seems like an ideal way to understand how to approach the problem with sangria. The project is very nice and nicely done. I'm surprised you don't have more popularity :)

On Mon, Mar 14, 2016, 14:38 Oleg Ilyenko notifications@github.com wrote:

Have you already saw this example: https://github.com/OlegIlyenko/sangria-auth-example? It's not a relay-based schema, but one can take the same approach in a relay application as well.

This example is documented here: http://sangria-graphql.org/learn/#authentication-and-authorisation

— Reply to this email directly or view it on GitHub https://github.com/sangria-graphql/sangria-relay-playground/issues/3#issuecomment-196313646 .

OlegIlyenko commented 8 years ago

Thank you for kind words! :) I guess it all comes to GraphQL itself, it's very young project and I think it just needs some time to be discovered by more people in scala community.