Skip to content

Conversation

@aaqilniz
Copy link
Contributor

@aaqilniz aaqilniz commented Jun 6, 2024

There is no way to apply authentication to rest-crud based APIs generated with lb4 rest-crud. This PR provides an idea and a basic implementation for achieving that.

Checklist

  • DCO (Developer Certificate of Origin) signed in all commits
  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

👉 Check out how to submit a PR 👈

@aaqilniz aaqilniz force-pushed the feat/auth-for-rest-crud branch 2 times, most recently from e6c50b5 to dda4097 Compare June 14, 2024 07:49
@aaqilniz aaqilniz force-pushed the feat/auth-for-rest-crud branch 3 times, most recently from 3b6df50 to f5f7536 Compare August 19, 2024 18:44
@aaqilniz aaqilniz marked this pull request as ready for review August 19, 2024 18:48
@danysz
Copy link

danysz commented Aug 22, 2024

can you please try to run again or to test again so it will be available for merging ?

@danysz
Copy link

danysz commented Aug 27, 2024

Hello @nabdelgadir , @raymondfeng , what is needed to be able to merge this feature ?

It is really important.

@aaqilniz aaqilniz force-pushed the feat/auth-for-rest-crud branch from 0e85c89 to effdaa7 Compare August 27, 2024 18:26
@aaqilniz
Copy link
Contributor Author

Hi, @danysz. I am working on the tests for the changes. I will update the PR soon.

@aaqilniz aaqilniz marked this pull request as draft August 27, 2024 18:56
@aaqilniz aaqilniz force-pushed the feat/auth-for-rest-crud branch 3 times, most recently from fbeedf8 to f73acd6 Compare August 28, 2024 09:03
Signed-off-by: Muhammad Aaqil <aaqilcs102@gmail.com>
@aaqilniz aaqilniz force-pushed the feat/auth-for-rest-crud branch from a94a67f to 7578677 Compare August 28, 2024 10:32
@aaqilniz aaqilniz marked this pull request as ready for review August 28, 2024 10:50
@aaqilniz
Copy link
Contributor Author

Hi, @samarpanB. Can you help me with the tests? The tests should fail as I have added an authentication decorator but it does not take any effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants