aws/aws-northstar

Samples for Cognito auth

pchaganti opened this issue · 2 comments

Is your feature request related to a specific component? Please add.
Cognito Auth

Describe the solution you'd like
The Cognito auth looks very useful. We are using Cognito extensively and having to implement the React components ourselves. Are there any samples or sample code that shows how to use the Northstar Cognito auth components? Would love to leverage this instead of building our own.

thanks!

Hi @pchaganti,

Thank you for your interest in NorthStar and NorthStar v2 component.

Please refer to our documentation website for details on how to setup NorthStar v2 and use NorthStar v2 components.

Specifically, for your use case,

import useSigv4Client from '@aws-northstar/ui/hooks/useSigv4Client'

Will try that out.

thanks!