зеркало из https://github.com/mozilla/fxa.git
Merge pull request #17948 from mozilla/fxa-10677
fix(bug): Skip session assurance check in /oauth/token route
This commit is contained in:
Коммит
dec3ddff48
|
@ -446,7 +446,7 @@ module.exports = ({ log, oauthDB, db, mailer, devices, statsd, glean }) => {
|
|||
// XXX TODO: To be able to fully replace the /token route from oauth-server,
|
||||
// this route must also be able to accept 'client_secret' as Basic Auth in header.
|
||||
mode: 'optional',
|
||||
strategy: 'sessionToken',
|
||||
strategy: 'sessionTokenNoAssurance',
|
||||
},
|
||||
validate: {
|
||||
// Note: the use of 'alternatives' here means that `grant_type` will default to
|
||||
|
|
Загрузка…
Ссылка в новой задаче