diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 00000000..7bc07ec2
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,10 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Environment-dependent path to Maven home directory
+/mavenHomeManager.xml
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/firebase-admin-go.iml b/.idea/firebase-admin-go.iml
new file mode 100644
index 00000000..d6ebd480
--- /dev/null
+++ b/.idea/firebase-admin-go.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 00000000..6f29fee2
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 00000000..9e56e1e0
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 00000000..35eb1ddf
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/auth.go b/snippets/auth.go
index df003339..50d3e8d9 100644
--- a/snippets/auth.go
+++ b/snippets/auth.go
@@ -809,6 +809,7 @@ func sessionLogoutHandlerWithRevocation(client *auth.Client) http.HandlerFunc {
}
func getIDTokenFromBody(r *http.Request) (string, error) {
+ // [START get_id_token_from_body]
b, err := ioutil.ReadAll(r.Body)
if err != nil {
return "", err
@@ -818,6 +819,7 @@ func getIDTokenFromBody(r *http.Request) (string, error) {
IDToken string `json:"idToken"`
}
err = json.Unmarshal(b, &parsedBody)
+ // [END get_id_token_from_body]
return parsedBody.IDToken, err
}