Skip to content
New issue

Have a question about this project? Sign 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

Add "dangerously get member" to SDKs and SAML Update by URL and Doc #153

Merged
merged 3 commits into from
Nov 15, 2023

Conversation

vincent-stytch
Copy link
Contributor

@vincent-stytch vincent-stytch commented Nov 15, 2023

Add "dangerously get member" to SDKs

SAML Update by URL and Doc

@vincent-stytch vincent-stytch requested a review from a team as a code owner November 15, 2023 18:26
@vincent-stytch vincent-stytch changed the title Add "dangerously get member" to SDKs Some updates Nov 15, 2023
Copy link
Contributor

@logan-stytch logan-stytch left a comment

Choose a reason for hiding this comment

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

Let's look into the missing docs, but otherwise this LGTM.

Comment on lines 50 to 52
type DangerouslyGetParams struct {
MemberID string `json:"member_id,omitempty"`
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add some docs for this method? It's okay if we don't do it in this PR, but make a task for it to track.

@@ -22,40 +22,10 @@ type ResetParams struct {
// SessionToken: A secret token for a given Stytch Session.
SessionToken string `json:"session_token,omitempty"`
// SessionJWT: The JSON Web Token (JWT) for a given Stytch Session.
SessionJWT string `json:"session_jwt,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, this looks wrong. We lost a bunch of docs

@@ -69,34 +39,18 @@ type ResetResponse struct {
// Member: The [Member object](https://stytch.com/docs/b2b/api/member-object)
Member organizations.Member `json:"member,omitempty"`
// Organization: The [Organization object](https://stytch.com/docs/b2b/api/organization-object).
Organization organizations.Organization `json:"organization,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, a bunch of missing docs

Copy link
Contributor

@logan-stytch logan-stytch left a comment

Choose a reason for hiding this comment

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

Oh, one more thing: bump the MINOR version so this gets published

@vincent-stytch vincent-stytch changed the title Some updates Some updates: Add "dangerously get member" to SDKs and SAML Update by URL and Doc Nov 15, 2023
@vincent-stytch vincent-stytch changed the title Some updates: Add "dangerously get member" to SDKs and SAML Update by URL and Doc Add "dangerously get member" to SDKs and SAML Update by URL and Doc Nov 15, 2023
@vincent-stytch vincent-stytch merged commit ff681a0 into main Nov 15, 2023
5 checks passed
@vincent-stytch vincent-stytch deleted the v/dan branch November 15, 2023 18:39
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