aws-amplify / aws-amplify/amplify-cli

Multiple front ends hosting with the same SSO Cognito login

Open
#6,282 7 comments 0 reactions 0 assignees View on GitHub
auth feature-request ops-multienv p4
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

I created an aws amplify back end as follows:

```
amplify init
```
```
amplify add auth
```
```
amplify push
```
```
amplify publish
```

Once this was done I created a front end and used the amplify pull command in the front end app

```
amplify pull --appId ************* --envName *******
```

I wanted to host this app so in the front end app I did

```
amplify init
```
```
amplify add hosting
```
```
amplify push
```
```
amplify publish
```

For the other front ends that i wanted to use the same backend on i created them in the same way and this works fine.

Is this the correct way to do this if so if i make changes to the cognito how would i get the updates to show on the front end?

Next when a user is logged into one how would I make is so they dont have to log into the app front ends?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.