8000 [FEAT] Active Org by itailevi98 · Pull Request #65 · PropelAuth/react · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[FEAT] Active Org #65

New issue

Have a question about this project? Sign 8000 up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 20, 2024
Merged

[FEAT] Active Org #65

merged 5 commits into from
May 20, 2024

Conversation

itailevi98
Copy link
Contributor
@itailevi98 itailevi98 commented May 16, 2024

Relevant JS PR: PropelAuth/javascript#30

Background

This task exports a new object, tokens, with the function getAccessTokenForOrg -- here is an example usage:

const authInfo = useAuthInfo();

const getAccessToken = async (orgId: string) => {
	const accessToken = await authInfo.tokens.getAccessTokenForOrg(
        orgId
      );
      return accessToken;
    };
};

@itailevi98 itailevi98 self-assigned this May 16, 2024
Copy link
Contributor
@andrew-propelauth andrew-propelauth left a comment

Choose a reason for hiding this comment

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

Small thing then lgtm

@itailevi98 itailevi98 marked this pull request as ready for review May 20, 2024 17:46
Copy link
Contributor
@andrew-propelauth andrew-propelauth left a comment

Choose a reason for hiding this comment

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

lgtm!

@itailevi98 itailevi98 merged commit be01988 into main May 20, 2024
@itailevi98 itailevi98 deleted the feat/active-org branch May 20, 2024 18:33
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
0