MeteorJS – Trucs et Astuces

Comment spécifier sur quel Ip/Host et Port Meteor doit t’il démarrer ?

Par défaut, en mode devl, Meteor démarre sur localhost:3000.

Il est parfois utile de spécifier à Meteor de binder un nom de domaine / port différent (par exemple pour mettre en place une authentification via un réseau social genre Facebook, Twitter, …).

Pour cela il faut utiliser la commande ci-dessous pour exécuter Meteor:

Et Voilà…

Exception « OAuth Server Failed to send OAuth1 request » avec le  module Accounts-Twitter ?

Vous essayez de mettre en place une authentification Twitter dans votre appli Meteor et vous vous retrouvez avec une jolie erreur « Internal Server Error » dans le formulaire de login après avoir cliqué sur « Sign in with Twitter »?

Vous avez une exception dans la log meteor du genre :

  • Hypothèse 1: les consumerKey/secret key sont invalides. (fail lors du copier/coller) .
    Voir la question « Comment vérifier/changer les consumerKey/ secret key d’un module accounts-twitter|accounts-facebook|… ? » ci dessous.
  • Hypothèse 2: (c’était mon cas) l’heure de votre serveur n’est pas d’équerre

Note: Pour activer le réglage de l’heure automatique dans une debian :

après l’install de NTP l’heure devrait être correcte (sinon voir le lien suivant https://wiki.debian.org/DateTime)

Pour verifier l’heure taper la commande

Et Voilà…

Comment vérifier/changer les consumerKey/ secret key d’un module accounts-twitter|accounts-facebook|… ?

Les modules meteor accounts-xxx sont super simples a mettre en place, il suffit de suivre les étapes décrites dans un joli formulaire web et de rentrer les consumer key/secret key et Hop! le tour est joué. Problème une fois le premier setup effectué, le formulaire n’est plus accessible donc il faut aller trifouiller la base de données Mongo pour vérifier/changer les consumerKey/secret key.

Je vais prendre pour exemple l’authentification Twitter (c’est le même principe pour les autres mode d’authentification).

Dans un terminal, se placer dans le dossier de votre appli, puis:

une fois le prompt mongo disponible, faire la query suivante:

Vous devriez avoir une réponse du genre:

Là vous pouvez vérifier le consumerKey et le secret.

Si vous voulez les modifier alors il suffit d’exécuter un petit Update du genre:

Et Voilà…

 

539 réflexions au sujet de « MeteorJS – Trucs et Astuces »

  1. Ping : stromectol
  2. Ping : sildenafil usa
  3. Ping : 1million
  4. Ping : bahis siteleri
  5. Ping : DPTPtNqS
  6. Ping : qQ8KZZE6
  7. Ping : D6tuzANh
  8. Ping : SHKALA TONOV
  9. Ping : 3Hk12Bl
  10. Ping : 3NOZC44
  11. Ping : 01211
  12. Ping : film-tor-2022
  13. Ping : hd-tor-2022
  14. Ping : hdorg2.ru
  15. Ping : Psikholog
  16. Ping : netstate.ru
  17. Ping : Link
  18. Ping : psy
  19. Ping : bit.ly
  20. Ping : bucha killings
  21. Ping : War in Ukraine
  22. Ping : Ukraine
  23. Ping : site
  24. Ping : stats
  25. Ping : Ukraine-war
  26. Ping : movies
  27. Ping : gidonline
  28. Ping : web
  29. Ping : film.8filmov.ru
  30. Ping : video
  31. Ping : film
  32. Ping : filmgoda.ru
  33. Ping : rodnoe-kino-ru
  34. Ping : sY5am
  35. Ping : Dom drakona
  36. Ping : JGXldbkj
  37. Ping : aOuSjapt
  38. Ping : A片
  39. Ping : TwnE4zl6
  40. Ping : psy 3CtwvjS
  41. Ping : lalochesia
  42. Ping : film onlinee
  43. Ping : 3qAIwwN
  44. Ping : video-2
  45. Ping : sezons.store
  46. Ping : psy-news.ru
  47. Ping : 000-1
  48. Ping : 3SoTS32
  49. Ping : 3DGofO7
  50. Ping : rftrip.ru
  51. Ping : dolpsy.ru
  52. Ping : kin0shki.ru
  53. Ping : mb588.ru
  54. Ping : newsukraine.ru
  55. Ping : edu-design.ru
  56. Ping : tftl.ru
  57. Ping : brutv
  58. Ping : site 2023
  59. Ping : sitestats01
  60. Ping : 1c789.ru
  61. Ping : cttdu.ru
  62. Ping : 1703
  63. Ping : hdserial2023.ru
  64. Ping : serialhd2023.ru
  65. Ping : bit.ly/3OEzOZR
  66. Ping : bit.ly/3gGFqGq
  67. Ping : bit.ly/3ARFdXA
  68. Ping : bit.ly/3ig2UT5
  69. Ping : bit.ly/3GQNK0J
  70. Ping : bep5w0Df
  71. Ping : www
  72. Ping : icf
  73. Ping : 24hours-news
  74. Ping : rusnewsweek
  75. Ping : uluro-ado
  76. Ping : irannews.ru
  77. Ping : klondayk2022
  78. Ping : tqmFEB3B
  79. Ping : mangalib
  80. Ping : x
  81. Ping : 9xflix
  82. Ping : xnxx
  83. Ping : 123movies
  84. Ping : kamagra india
  85. Ping : sildenafil cost
  86. Ping : sibluevi sales
  87. Ping : kinokrad
  88. Ping : batmanapollo
  89. Ping : levitra uses
  90. Ping : vsovezdeisrazu
  91. Ping : 2023
  92. Ping : levitra dose
  93. Ping : ipsychologos
  94. Ping : yug-grib.ru
  95. Ping : running earbuds
  96. Ping : prednisone 10mg
  97. Ping : buy fluoxetine
  98. Ping : madridbet
  99. Ping : meritking
  100. Ping : madridbet
  101. Ping : meritking
  102. Ping : grandpashabet
  103. Ping : meritking
  104. Ping : meritking
  105. Ping : madridbet
  106. Ping : grandpashabet
  107. Ping : meritking
  108. Ping : meritking
  109. Ping : olanzapine
  110. Ping : buy protonix
  111. Ping : meritking
  112. Ping : tadalafil t 20
  113. Ping : porn
  114. Ping : batmanapollo.ru
  115. Ping : 777
  116. Ping : wlw.su
  117. Ping : vxi.su
  118. Ping : nlpvip.ru
  119. Ping : manipulyation
  120. Ping : 354
  121. Ping : kiino4k.ru
  122. Ping : depresiya
  123. Ping : new 2024
  124. Ping : batman apollo
  125. Ping : film2024
  126. Ping : 000
  127. Ping : samorazvitiepsi
  128. Ping : 911
  129. Ping : list
  130. Ping : 75mg zoloft
  131. Ping : a
  132. Ping : androgel
  133. Ping : lexapro yawning
  134. Ping : sanofi cialis
  135. Ping : tadalista 20
  136. Ping : vidalista 60
  137. Ping : androgel gel
  138. Ping : porno izle
  139. Ping : child porn
  140. Ping : grandpashabet
  141. Ping : porn
  142. Ping : ventolin hfa
  143. Ping : grandpashabet
  144. Ping : grandpashabet
  145. Ping : porno izle
  146. Ping : child porn
  147. Ping : grandpashabet
  148. Ping : Cenforce
  149. Ping : cozaar dosage
  150. Ping : cenforce 100
  151. Ping : spisok
  152. Ping : buspar uses
  153. Ping : vidalista 60 mg
  154. Ping : child porn
  155. Ping : stromectol
  156. Ping : cenforce 100
  157. Ping : oral sildenafil
  158. Ping : actos rems
  159. Ping : abilify pill
  160. Ping : acarbose oral
  161. Ping : porn
  162. Ping : dapoxetine otc
  163. Ping : child porn
  164. Ping : vidalista 10
  165. Ping : child porn
  166. Ping : child porn

Laisser un commentaire