Skip to content

[FEAT] Active Org#65

Merged
itailevi98 merged 5 commits intomainfrom
feat/active-org
May 20, 2024
Merged

[FEAT] Active Org#65
itailevi98 merged 5 commits intomainfrom
feat/active-org

Conversation

@itailevi98
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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