Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUBMIT] A complete guide to Authorization in GraphQL and Jamstack #106

Closed
Qodestackr opened this issue Nov 3, 2022 · 4 comments
Closed
Assignees
Labels
Brief review Brief received and in review

Comments

@Qodestackr
Copy link

Introduction

One of the de facto standards of tackling how decoupled systems interact together is by building APIs. In recent years, GraphQL and Jamstack solutions has gained popularity in developing experiencs. GraphQL spec uses a declarative query language that favors flexible queries to your client's demands. On the backend, you create a strongly typed schema to resolve data so the clients can send arbitrary queries for the exact data they want, which you will validate against your schema.

This article will explain how we can leverage various authorization strategies in a Jamstack architecture.

Goals

We will build an authorization system with GraphQL and discuss how this can be implemented in a Jamstack architecture.

Outline

  • What is Jamstack?
  • Role based access controls
  • Attribute based access controls
  • Authorization at resolvers
  • App-wide authorization
  • Authorization at the data layers
  • Global authorization with Cerbos - a tool that turns authorization logic into configuration
  • Best practices
  • Conclusion

Sample articles

No response

@endymion1818
Copy link
Contributor

hi @Qodestackr, thanks for your submission, can I ask a bit more detail about how you plan to feature Webiny in this article?

@endymion1818 endymion1818 added Brief review Brief received and in review labels Dec 8, 2022
@Qodestackr
Copy link
Author

Reason for thought about this: Webiny heavily relies on GraphQL. Creating content around GraphQL is helpful to the end user in my opinion and how they approach the platform.

@endymion1818
Copy link
Contributor

Thanks Wilson, I don't think this is as needed as your other submission (#105), let's close this one and get you on that.

@Qodestackr
Copy link
Author

👍

Thanks Wilson, I don't think this is as needed as your other submission (#105), let's close this one and get you on that.

👍 Sure. Let me work on the other article.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Brief review Brief received and in review
Projects
None yet
Development

No branches or pull requests

2 participants