Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2021-06-12 18:54:01 +08:00
parent 6e8ff98039
commit cb1f263780
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38
3 changed files with 7 additions and 6 deletions

View File

@ -41,6 +41,7 @@ export function extractProfileAttribute (data, path) {
export class OAuth2CustomStrategy extends Strategy {
private _userProfileURL: any;
constructor(options, verify) {
options.customHeaders = options.customHeaders || {}
super(options, verify)