mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
auth0-js - Including optional props AuthorizeOptions - acccessType; approvalPrompt (#32520)
* Including optional properties AuthorizeOptions - acccessType; approvalForce auth-0.js actually forwards any param you send it (minus a specific black list). Auth0 Support and Community use these optional params, although they are not specifically called out in the Auth0 API documentation. Auth0 Support and Community even specify these are needed especially to get Google refresh_tokens (vie email Support Ticket, as well as the Community link below) https://community.auth0.com/t/cant-get-google-refresh-token-using-auth0-js/11756 * Corrected to use field approvalPrompt * fixed typo
This commit is contained in:
committed by
Pranav Senthilnathan
parent
ee0aad13bc
commit
71bd0ba07b
2
types/auth0-js/index.d.ts
vendored
2
types/auth0-js/index.d.ts
vendored
@@ -812,6 +812,8 @@ export interface AuthorizeOptions {
|
||||
login_hint?: string;
|
||||
prompt?: string;
|
||||
mode?: "login" | "signUp";
|
||||
acccessType?: string;
|
||||
approvalPrompt?: string;
|
||||
}
|
||||
|
||||
export interface CheckSessionOptions extends AuthorizeOptions {
|
||||
|
||||
Reference in New Issue
Block a user