remove the console.log

This commit is contained in:
J Shamsul Bahri (jibone))
2020-09-21 17:53:18 +08:00
parent 5288ce0dee
commit 70dc0627aa
@@ -53,8 +53,6 @@ export class SamlAuthProvider implements AuthProviderRouteHandlers {
// for non-oauth auth flows.
// TODO: This flow doesn't issue an identity token that can be used to validate
// the identity of the user in other backends, which we need in some form.
console.log('===> SamlAuthProvider constructor');
console.log(profile);
done(undefined, {
userId: profile.nameID!,
profile: {
@@ -76,9 +74,9 @@ export class SamlAuthProvider implements AuthProviderRouteHandlers {
): Promise<void> {
try {
const {
response: { userId, profile },
response: { userId, profile },
} = await executeFrameHandlerStrategy<SamlInfo>(req, this.strategy);
const id = userId;
const idToken = await this.tokenIssuer.issueToken({
claims: { sub: id },