winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
5.01k stars 196 forks source link

Add Auth for authentication and authorization #1216

Open asmajlovicmars opened 1 year ago

asmajlovicmars commented 1 year ago

Community Note

Please vote by adding a 👍 reaction to the issue to help us prioritize. If you are interested to work on this issue, please leave a comment.

Feature Spec

Noticed that Auth hasn't been listed yet among initial services, so just adding it here.

Use Cases

In our case of AWS Cognito usage, we limit the access to certain API's or website's features via authentication, e.g:

Implementation Notes

My experience is limited to some Auth0, Cognito and now wanted to explore Auth.js. Having a tight integration with Cognito helped us secure APIs and enable authentication through seamless integration between AWS Amplify (Auth) and Cognito, as well as easy utilization via CDK (our particular case). Not sure about abstracting this at the higher level, and having ability to use different auths.

Component

SDK

github-actions[bot] commented 1 year ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

Chriscbr commented 7 months ago

See also https://docs.sst.dev/auth

This could make for a good use case story (cc @revitalbarletz)