Skip to content

Commit

Permalink
feat: enable support for multiple oidc providers (aws-amplify#1020)
Browse files Browse the repository at this point in the history
* feat: allow multiple oidc providers

* chore: add changeset and update api

* fix: bug with IDs for multiple oidc providers

* chore: update tests

* chore: update tests

* chore: update tests
  • Loading branch information
awsluja authored Feb 14, 2024
1 parent 960c39a commit 85e953f
Show file tree
Hide file tree
Showing 9 changed files with 289 additions and 158 deletions.
6 changes: 6 additions & 0 deletions .changeset/sour-rice-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@aws-amplify/auth-construct-alpha': minor
'@aws-amplify/backend-auth': minor
---

OIDC now supports a list of providers which will be configured for your user pool.
2 changes: 1 addition & 1 deletion packages/auth-construct/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export type ExternalProviderOptions = {
facebook?: FacebookProviderProps;
loginWithAmazon?: AmazonProviderProps;
signInWithApple?: AppleProviderProps;
oidc?: OidcProviderProps;
oidc?: OidcProviderProps[];
saml?: SamlProviderProps;
scopes?: ('PHONE' | 'EMAIL' | 'OPENID' | 'PROFILE' | 'COGNITO_ADMIN')[];
callbackUrls: string[];
Expand Down
Loading

0 comments on commit 85e953f

Please sign in to comment.