-
-
Notifications
You must be signed in to change notification settings - Fork 381
[core] Add more OAuth providers to SignInPage
#3933
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
Merged
bharatkashyap
merged 25 commits into
mui:master
from
bharatkashyap:oauth-more-providers
Sep 12, 2024
Merged
Changes from 13 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
784bded
feat: More OAuth providers
bharatkashyap 36b962d
fix: CI
bharatkashyap 0434458
fix: Ignore icons for api docs
bharatkashyap 4bcde3d
fix: CI, ignore icons for codecov
bharatkashyap 85a0cf9
Merge branch 'master' into oauth-more-providers
bharatkashyap 7fd0443
Merge branch 'master' into oauth-more-providers
bharatkashyap 543443f
Merge branch 'master' into oauth-more-providers
bharatkashyap 3baf5f9
Merge branch 'master' into oauth-more-providers
bharatkashyap dfce430
Merge branch 'master' of github.com:mui/mui-toolpad into oauth-more-p…
bharatkashyap 6541d92
fix: Better Cognito icon
bharatkashyap f0634cc
Merge branch 'master' into oauth-more-providers
bharatkashyap a09e4a4
Merge branch 'master' of github.com:mui/mui-toolpad into oauth-more-p…
bharatkashyap 7e604c5
fix: Add more providers to CLI
bharatkashyap 0a10ee6
fix: Show list in docs, better variable name
bharatkashyap 7fcdc91
Merge branch 'master' of github.com:mui/mui-toolpad into oauth-more-p…
bharatkashyap 2e5e729
Merge branch 'master' of github.com:mui/mui-toolpad into oauth-more-p…
bharatkashyap 8abe45a
Merge branch 'master' into oauth-more-providers
bharatkashyap a5e4f43
fix: `create-toolpad-app` depends on `@toolpad/core` types
bharatkashyap 58f731b
fix: Clean templates, fix a bunch of issues in generated apps
bharatkashyap 9c4b999
fix: Warn/error on missing config, misc cleanup to examples/playground
bharatkashyap 84f53cf
Merge branch 'fix/create-toolpad-app' into oauth-more-providers
bharatkashyap 5bf58e1
Merge branch 'master' into oauth-more-providers
bharatkashyap d9135e5
Merge branch 'master' of github.com:mui/mui-toolpad into oauth-more-p…
bharatkashyap 1bcf42d
fix: Agnostic
bharatkashyap 7e61cae
Merge branch 'master' into oauth-more-providers
bharatkashyap File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
coverage: | ||
ignore: | ||
- '*/icons/*' | ||
status: | ||
project: | ||
default: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import type { SupportedAuthProvider } from '@toolpad/core'; | ||
|
||
export function requiresIssuer(provider: SupportedAuthProvider) { | ||
return ( | ||
provider === 'cognito' || | ||
provider === 'fusionauth' || | ||
provider === 'keycloak' || | ||
provider === 'okta' | ||
); | ||
} | ||
|
||
export function requiresTenantId(provider: SupportedAuthProvider) { | ||
return provider === 'microsoft-entra-id' || provider === 'fusionauth'; | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import * as React from 'react'; | ||
|
||
/** | ||
* @ignore - internal component. | ||
*/ | ||
function Auth0Icon() { | ||
return ( | ||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 64 64"> | ||
<path | ||
d="M49.012 51.774L42.514 32l17.008-12.22h-21.02L32.005 0h21.032l6.506 19.78c3.767 11.468-.118 24.52-10.53 31.993zm-34.023 0L31.998 64l17.015-12.226-17.008-12.22zm-10.516-32c-3.976 12.1.64 24.917 10.5 32.007v-.007L21.482 32 4.474 19.774l21.025.007L31.998 0H10.972z" | ||
fill="#eb5424" | ||
/> | ||
</svg> | ||
); | ||
} | ||
|
||
export default Auth0Icon; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels worse. Can't we do the opposite? Keep the list here and just call it a string in the API docs?