feat: auto skip consent screen for trusted oauth clients (#25640)
* auto constent for trusted clients * add loading state --------- Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
1 parent
e0a28af46e
commit
5fe3714edd
4 files changed
+34
-5
No files matched your search
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "public"."OAuthClient" ADD COLUMN "isTrusted" BOOLEAN NOT NULL DEFAULT false;
|
||||
@@ -1765,6 +1765,7 @@ model OAuthClient {
|
||||
clientType OAuthClientType @default(CONFIDENTIAL)
|
||||
name String
|
||||
logo String?
|
||||
isTrusted Boolean @default(false)
|
||||
accessCodes AccessCode[]
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ export const getClientHandler = async ({ input }: GetClientOptions) => {
|
||||
redirectUri: true,
|
||||
name: true,
|
||||
logo: true,
|
||||
isTrusted: true,
|
||||
},
|
||||
});
|
||||
return client;
|
||||
|
||||
Reference in new issue
Block a user