mirror of
https://github.com/enso-org/enso.git
synced 2024-12-11 12:24:27 +03:00
74551b3188
For some reason, the hosted UI for both email and password and SSO, as well as the `Auth.federatedSignIn({provider: 'Google'})` call require the `aws.cognito.signin.user.admin` scope to be enabled to fetch and update user attributed. However, a call to `Auth.signIn(email, password)` does not. This is not well documented in AWS Cognito. # Important Notes `aws.cognito.signin.user.admin` gives you access to all Cognito User Pool APIs. Which federatedSignIn with google provider uses to get `currentUserInfo()` where we store optional `organizationId`. It does not provide any admin level access to other cognito or AWS parts. |
||
---|---|---|
.. | ||
src | ||
bundle.ts | ||
esbuild-config.ts | ||
package.json | ||
tailwind.config.ts | ||
tsconfig.json | ||
watch.ts |