chore: method signatures for oauthRedirect method
This commit is contained in:
@@ -185,11 +185,15 @@ const tokenRequest = async ({
|
|||||||
window.location = buildUrl();
|
window.location = buildUrl();
|
||||||
};
|
};
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////
|
|
||||||
// OAUTH REDIRECT HANDLING
|
// OAUTH REDIRECT HANDLING
|
||||||
|
|
||||||
// Handle the redirect back from the authorization server and
|
/**
|
||||||
// get an access token from the token endpoint
|
* Handle the redirect back from the authorization server and
|
||||||
|
* get an access token from the token endpoint
|
||||||
|
*
|
||||||
|
* @returns {Object}
|
||||||
|
*/
|
||||||
|
|
||||||
const oauthRedirect = async () => {
|
const oauthRedirect = async () => {
|
||||||
let tokenResponse = "";
|
let tokenResponse = "";
|
||||||
let q = parseQueryString(window.location.search.substring(1));
|
let q = parseQueryString(window.location.search.substring(1));
|
||||||
|
|||||||
Reference in New Issue
Block a user