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

Authentification with AWS Cognito #453

Open
tuankietngo opened this issue Oct 28, 2024 · 0 comments
Open

Authentification with AWS Cognito #453

tuankietngo opened this issue Oct 28, 2024 · 0 comments

Comments

@tuankietngo
Copy link

Hello
I'm using AWS Cognito as the OICD for Tapir authentification. When i logined, i received the 401 unauthorized. I know that i need to put the role admin into the token of Cognito. But i don't know how to put it in the token, i used a lambda for pre token generation to add a customized claim into the token. I tried to add this claim but i didn't work:

  • "groups":"admin"

So i want to ask:

  • Can Tapir work with AWS Cognito for the authentification ?
  • If yes, How to add a customized claim to the token for authentification of Tapir ?
    Thanks
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

No branches or pull requests

1 participant