fix idNot connexion
This commit is contained in:
parent
d3cddc8adf
commit
dbe984b474
@ -114,9 +114,11 @@ export default class IdNotService extends BaseService {
|
||||
code: code,
|
||||
grant_type: "authorization_code",
|
||||
});
|
||||
|
||||
console.log(query)
|
||||
const token = await fetch(this.variables.IDNOT_BASE_URL + this.variables.IDNOT_CONNEXION_URL + "?" + query, { method: "POST" });
|
||||
console.log(token)
|
||||
const decodedToken = (await token.json()) as IIdNotToken;
|
||||
console.log(decodedToken)
|
||||
const decodedIdToken = jwt.decode(decodedToken.id_token) as IdNotJwtPayload;
|
||||
|
||||
return decodedIdToken;
|
||||
|
Loading…
x
Reference in New Issue
Block a user