Skip to content

Commit

Permalink
rollback linkedin
Browse files Browse the repository at this point in the history
  • Loading branch information
larisa17 committed Sep 10, 2024
1 parent eb57a03 commit 82ce4bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions infra/aws/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ const albPassportXyzTargetGroup = new aws.lb.TargetGroup(`passport-xyz-iam`, {

const albPassportXyzListenerRule = new aws.lb.ListenerRule(`passport-xyz-iam-https`, {
listenerArn: albHttpsListenerArn,
priority: 100, // This needs to be grater than the priority number for passport-scroll-badge-service
priority: 102, // This needs to be grater than the priority number for passport-scroll-badge-service
actions: [
{
type: "forward",
Expand Down Expand Up @@ -365,7 +365,7 @@ const albGitcoinTargetGroup = new aws.lb.TargetGroup(`passport-iam`, {

const albGitcoinListenerRule = new aws.lb.ListenerRule(`passport-iam-https`, {
listenerArn: albHttpsListenerArn,
priority: 101, // This needs to be grater than the priority number for passport-scroll-badge-service
priority: 100, // This needs to be grater than the priority number for passport-scroll-badge-service
actions: [
{
type: "forward",
Expand Down
2 changes: 1 addition & 1 deletion platforms/src/Linkedin/App-Bindings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class LinkedinPlatform extends Platform {

async getOAuthUrl(state: string): Promise<string> {
const linkedinUrl = await Promise.resolve(
`https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=${this.clientId}&redirect_uri=${this.redirectUri}&state=${state}&scope=email%20profile`
`https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=${this.clientId}&redirect_uri=${this.redirectUri}&state=${state}&scope=r_emailaddress%20r_liteprofile`
);
return linkedinUrl;
}
Expand Down

0 comments on commit 82ce4bc

Please sign in to comment.