Skip to content

Add impersonated user ID to the authentication info#13

Merged
andrew-propelauth merged 1 commit intomainfrom
impersonation
May 4, 2023
Merged

Add impersonated user ID to the authentication info#13
andrew-propelauth merged 1 commit intomainfrom
impersonation

Conversation

@andrew-propelauth
Copy link
Copy Markdown
Contributor

No description provided.

@andrew-propelauth andrew-propelauth requested a review from jmcguire May 4, 2023 09:01
Comment thread src/api.ts
this.lastActiveAt = value
} else if (key === "legacy_user_id") {
this.legacyUserId = value
} else if (key === "impersonator_user") {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should be impersonator_user_id

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is actually how the backend is sending it, need to keep it for back-compat, but I think impersoantor_user_id is a better thing to expose externally.

@jmcguire jmcguire self-requested a review May 4, 2023 16:20
Copy link
Copy Markdown
Contributor

@jmcguire jmcguire left a comment

Choose a reason for hiding this comment

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

👍

@andrew-propelauth andrew-propelauth merged commit 4363d55 into main May 4, 2023
@andrew-propelauth andrew-propelauth deleted the impersonation branch May 4, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants