Skip to content

Commit e2c22ba

Browse files
committed
fix: add doc
1 parent b006d8b commit e2c22ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

firebase/functions/src/osm_auth.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ function osmOAuth2Client() {
5353
return simpleOAuth2.create(credentials);
5454
}
5555

56+
/**
57+
* Creates a configured simple-oauth2 client for OSM for the web app.
58+
* Configure the `osm.client_id_web` and `osm.client_secret_web`
59+
* Google Cloud environment variables for the values below to exist
60+
*/
5661
function osmOAuth2ClientWeb() {
5762
const credentials = {
5863
client: {

0 commit comments

Comments
 (0)