Skip to content

Commit

Permalink
Merge pull request #549 from pokt-foundation/stage
Browse files Browse the repository at this point in the history
Login w/ Google 🔒 ➡️ Prod
  • Loading branch information
RabeeAbuBaker authored Dec 4, 2023
2 parents c8c6d13 + 9b83d53 commit 6f894e7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions app/utils/auth.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { initAdminPortal } from "~/utils/adminPortal"
export const authenticator = new Authenticator<{
accessToken: string
refreshToken: string
extraParams: Auth0ExtraParams
// extraParams: Auth0ExtraParams
user: PortalUser & {
auth0ID: string
email_verified?: boolean
Expand All @@ -22,7 +22,7 @@ export const authenticator = new Authenticator<{
export type AuthUser = {
accessToken: string
refreshToken: string
extraParams: Auth0ExtraParams
// extraParams: Auth0ExtraParams
user: PortalUser & {
auth0ID: string
email_verified?: boolean
Expand Down Expand Up @@ -70,7 +70,12 @@ let auth0Strategy = new Auth0Strategy(
email_verified: profile._json?.email_verified,
}

return { accessToken, refreshToken, extraParams, user: portalUser }
return {
accessToken,
refreshToken,
// extraParams,
user: portalUser,
}
},
)

Expand Down

1 comment on commit 6f894e7

@vercel
Copy link

@vercel vercel bot commented on 6f894e7 Dec 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.