mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
Merge pull request #25064 from overleaf/em-oauth-no-secret
Do not require a secret in OAuth configurations GitOrigin-RevId: 8d67436bc9366ef5991c02e89a81dbbf573196d7
This commit is contained in:
@@ -16,10 +16,6 @@ async function main() {
|
||||
console.error('Missing --name option')
|
||||
process.exit(1)
|
||||
}
|
||||
if (opts.secret == null) {
|
||||
console.error('Missing --secret option')
|
||||
process.exit(1)
|
||||
}
|
||||
} else {
|
||||
console.log(`Updating configuration for client: ${application.name}`)
|
||||
if (opts.mongoId != null) {
|
||||
@@ -104,7 +100,7 @@ Creates or updates an OAuth client configuration
|
||||
|
||||
Options:
|
||||
--name Descriptive name for the OAuth client (required for creation)
|
||||
--secret Client secret (required for creation)
|
||||
--secret Client secret
|
||||
--scope Accepted scope (can be given more than once)
|
||||
--grant Accepted grant type (can be given more than once)
|
||||
--redirect-uri Accepted redirect URI (can be given more than once)
|
||||
|
||||
Reference in New Issue
Block a user