oh.auth_token <- function(user, password, ...){
#when using oh.login, argument 'serverurl' is part of the ... ellipse
xhr <- oh.call("/user/auth_token", user=user, password=password, ...);
message("Login successful!");
return(xhr$token);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.