mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
oauth provider email_claim required
This commit is contained in:
@@ -41,8 +41,8 @@ class ClientResource extends Resource
|
||||
{
|
||||
return $form
|
||||
->schema([
|
||||
Forms\Components\TextInput::make('name')->label(__('label.name')),
|
||||
Forms\Components\TextInput::make('redirect')->label(__('oauth.redirect')),
|
||||
Forms\Components\TextInput::make('name')->label(__('label.name'))->required(),
|
||||
Forms\Components\TextInput::make('redirect')->label(__('oauth.redirect'))->required(),
|
||||
Forms\Components\Radio::make('skips_authorization')
|
||||
->options(self::getYesNoOptions())
|
||||
->inline()
|
||||
|
||||
@@ -68,12 +68,14 @@ class ProviderResource extends Resource
|
||||
->label(__('oauth.id_claim'))
|
||||
->required()
|
||||
,
|
||||
Forms\Components\TextInput::make('email_claim')
|
||||
->label(__('oauth.email_claim'))
|
||||
->required()
|
||||
,
|
||||
Forms\Components\TextInput::make('username_claim')
|
||||
->label(__('oauth.username_claim'))
|
||||
,
|
||||
Forms\Components\TextInput::make('email_claim')
|
||||
->label(__('oauth.email_claim'))
|
||||
,
|
||||
|
||||
Forms\Components\TextInput::make('level_claim')
|
||||
->label(__('oauth.level_claim'))
|
||||
,
|
||||
|
||||
Reference in New Issue
Block a user