-
Notifications
You must be signed in to change notification settings - Fork 899
feat: add OAuth2 applications #11197
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
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
c7d69e2
Add database tables for OAuth2 applications
code-asher 3c096b2
Add endpoints for managing OAuth2 applications
code-asher 430140e
Add frontend for managing OAuth2 applications
code-asher 35978ed
Add types to oauth2 stories
code-asher 7e2db88
Remove redundant existence checks
code-asher f224ebc
Remove unnecessary function wrappers
code-asher c57b400
Add types to default meta storybook exports
code-asher d2e6d37
Mark secrets array as readonly
code-asher de11363
Replace isUpdating with object
code-asher d767d25
Remove unnecessary undefined on useState
code-asher 9473478
Rename apps to "provider apps"
code-asher 70ffd00
Comment about hashed and display secret
code-asher 8035333
Rename secret ID param
code-asher fd13c02
Move db to sdk conversions to db2sdk.go
code-asher 64ef328
Be more helpful with app and secret mismatches
code-asher 7c7fd7e
Clarify new secret vs secret list
code-asher 765ee0c
Remove invalid JSON from test entities
code-asher 1e08e4d
Remove redundant type
code-asher 3e69495
Refactor mutations
code-asher 41ff886
Merge remote-tracking branch 'github/main' into asher/oauth-provider
code-asher 6e2ec5a
Bump migration number
code-asher 7c3b1b1
make gen
code-asher 7e7cda5
Add dev and entitlement checks to oauth2 provider
code-asher 1be8f15
Move badges underneath header
code-asher 511850b
Improve client ID markup
code-asher e8e8a94
Show a 404 page on /deployment/oauth2-provider/
code-asher c2934fb
Clear full new secret if deleted
code-asher b9a6765
Merge remote-tracking branch 'github/main' into asher/oauth-provider
code-asher d8927ca
Bump migration number
code-asher bd8cab4
Fix undefined error in edit oauth2 stories
code-asher 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
Add types to oauth2 stories
- Loading branch information
commit 35978edc9597a487c25876743e8592514ab86883
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
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
14 changes: 8 additions & 6 deletions
14
...rc/pages/DeploySettingsPage/OAuth2AppsSettingsPage/OAuth2AppsSettingsPageView.stories.tsx
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,35 +1,37 @@ | ||
import OAuth2AppsSettingsPageView from "./OAuth2AppsSettingsPageView"; | ||
import type { StoryObj } from "@storybook/react"; | ||
import { MockOAuth2Apps } from "testHelpers/entities"; | ||
import OAuth2AppsSettingsPageView from "./OAuth2AppsSettingsPageView"; | ||
|
||
export default { | ||
title: "pages/DeploySettingsPage/OAuth2AppsSettingsPageView", | ||
component: OAuth2AppsSettingsPageView, | ||
}; | ||
|
||
export const Loading = { | ||
type Story = StoryObj<typeof OAuth2AppsSettingsPageView>; | ||
|
||
export const Loading: Story = { | ||
args: { | ||
isLoading: true, | ||
}, | ||
}; | ||
|
||
export const Unentitled = { | ||
export const Unentitled: Story = { | ||
args: { | ||
isLoading: false, | ||
apps: MockOAuth2Apps, | ||
}, | ||
}; | ||
|
||
export const Entitled = { | ||
export const Entitled: Story = { | ||
args: { | ||
isLoading: false, | ||
apps: MockOAuth2Apps, | ||
isEntitled: true, | ||
}, | ||
}; | ||
|
||
export const Empty = { | ||
export const Empty: Story = { | ||
args: { | ||
isLoading: false, | ||
apps: null, | ||
}, | ||
}; |
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.
Uh oh!
There was an error while loading. Please reload this page.