Removed logs
This commit is contained in:
parent
889e6ec6ba
commit
478b967896
@ -120,20 +120,15 @@ export default class IdNotService extends BaseService {
|
||||
redirect_uri: this.variables.IDNOT_REDIRECT_URL,
|
||||
code: code,
|
||||
grant_type: "authorization_code",
|
||||
});
|
||||
console.log(this.variables.IDNOT_BASE_URL + this.variables.IDNOT_CONNEXION_URL + "?" + query.toString());
|
||||
|
||||
});
|
||||
|
||||
const token = await fetch(this.variables.IDNOT_BASE_URL + this.variables.IDNOT_CONNEXION_URL + "?" + query, { method: "POST" });
|
||||
console.log(token.status);
|
||||
|
||||
if(token.status !== 200) console.error(await token.text());
|
||||
|
||||
const decodedToken = (await token.json()) as IIdNotToken;
|
||||
console.log(decodedToken);
|
||||
|
||||
const decodedIdToken = jwt.decode(decodedToken.id_token) as IdNotJwtPayload;
|
||||
console.log(decodedIdToken);
|
||||
|
||||
|
||||
return decodedIdToken;
|
||||
|
Loading…
x
Reference in New Issue
Block a user