-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
googleSignIn documentation incorrect #171
Comments
Yes documentation fix preferred, thanks for spotting it! IIRC it was a relic of the code example it was built from.
…________________________________
From: Jon Harmon <[email protected]>
Sent: Wednesday, January 8, 2020 9:28 PM
To: MarkEdmondson1234/googleAuthR
Cc: Subscribed
Subject: [MarkEdmondson1234/googleAuthR] googleSignIn documentation incorrect (#171)
What goes wrong
The googleSignIn documentation says the values are g_id, g_email, g_image, and signed_in, but the actual values are id, name, email, image, and signed_in. It looks like the fields are renamed from their in-module names during the return:
function (input, output, session)
{
check_package_loaded("shiny")
shiny::reactive({
shiny::req(input$g_id)
list(id = input$g_id, name = input$g_name, email = input$g_email,
image = input$g_image, signed_in = input$signed_in)
})
}
I assume the preferred fix would be to change the documentation (since anybody using this has to be grabbing the g-less version of the list element), but wanted to check before submitting a PR.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#171?email_source=notifications&email_token=AAYCPLEGRUDFJVSTYLHIF6LQ4YZQNA5CNFSM4KEOELLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IE33QFA>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAYCPLF5GNY642DB27AJ22DQ4YZQNANCNFSM4KEOELLA>.
|
jonthegeek
pushed a commit
to jonthegeek/googleAuthR
that referenced
this issue
Jan 9, 2020
MarkEdmondson1234
added a commit
that referenced
this issue
Jan 10, 2020
Fixed `googleSignIn` documentation per #171.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What goes wrong
The googleSignIn documentation says the values are g_id, g_email, g_image, and signed_in, but the actual values are id, name, email, image, and signed_in. It looks like the fields are renamed from their in-module names during the return:
I assume the preferred fix would be to change the documentation (since anybody using this has to be grabbing the g-less version of the list element), but wanted to check before submitting a PR.
The text was updated successfully, but these errors were encountered: