express-authenticators
Advanced tools
Comparing version 1.0.0-pre-2 to 1.0.0-pre-3
@@ -7,6 +7,7 @@ export interface IAppleEnv { | ||
} | ||
export declare const getAppleConsentUrl: ({ scope, clientID, redirectUri, }: { | ||
export declare const getAppleConsentUrl: ({ scope, clientID, redirectUri, state, }: { | ||
clientID: string; | ||
redirectUri: string; | ||
scope?: string | undefined; | ||
state?: string | undefined; | ||
}) => Promise<{ | ||
@@ -13,0 +14,0 @@ url: string; |
@@ -19,6 +19,7 @@ "use strict"; | ||
const getAppleConsentUrl = ({ scope = ['email', 'name'].join(' '), // if non-null, response_mode must be form_post and break the oauth2 flow | ||
clientID, redirectUri, }) => (0, oauth_1.getConsentUrl)({ | ||
clientID, redirectUri, state, }) => (0, oauth_1.getConsentUrl)({ | ||
clientID, | ||
redirectUri, | ||
scope, | ||
state, | ||
consentUrl: 'https://appleid.apple.com/auth/authorize', | ||
@@ -25,0 +26,0 @@ enablePKCE: false, |
{ | ||
"name": "express-authenticators", | ||
"version": "1.0.0-pre-2", | ||
"version": "1.0.0-pre-3", | ||
"description": "Third party authenticators in nodejs. Support various providers. Almost zero dependencies.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
147256
2060