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

fix: github: return user id #440

Merged
merged 1 commit into from
Feb 15, 2025

Conversation

g-linville
Copy link
Collaborator

@g-linville g-linville commented Feb 13, 2025

This is needed for obot-platform/obot#1747

Signed-off-by: Grant Linville <[email protected]>
return
}
}
func GetSerializableState(p *oauth2proxy.OAuthProxy, r *http.Request) (SerializableState, error) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is a refactoring of some of the ObotGetState behavior so that I could call just this function to get the SerializableState, and then modify it afterwards. We needed this for GitHub.

@g-linville g-linville marked this pull request as ready for review February 13, 2025 21:47
@g-linville g-linville merged commit d18d244 into obot-platform:main Feb 15, 2025
2 checks passed
@g-linville g-linville deleted the github-user-id branch February 15, 2025 20:54
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.

3 participants