Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[#6091] CB Connect: Not remembers authentication

  • squarrel
  • squarrel
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
8 years 5 months ago - 8 years 5 months ago #283484 by squarrel
Hi there,

I have:
Joomla 3.5.1
Community Builder 2.0.14
CB Connect 7
Login with Foursquare ID (CB Login)

Authentication en Registration works with Foursquare login. Only after closing the browser and starting it again it does not remember
the login and I have to login (Allow foursuare) again.

The thing I want is to once login and allow Foursquare and the browser remembering the login. Can someone help me?

Wouter
Last edit: 8 years 5 months ago by krileon. Reason: Added [#6091] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
8 years 5 months ago #283501 by krileon
Replied by krileon on topic CB Connect: Not remembers authentication
It doesn't remember your login. There's no remember me functionality for it. Also closing your browser typically clears cookies, which clears your Joomla cookie that links you to your Joomla session and results in you being logged out. To log back in simply click the button and it should immediately go through the login process as the application should already be authorized for that account.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • squarrel
  • squarrel
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
8 years 5 months ago #283517 by squarrel
Replied by squarrel on topic CB Connect: Not remembers authentication
Thank you Kyle for your answer.

Another question.

Everytime I click the button I have to click allow on the Foursquare page.
Is it possible to bypass it, because I have give permission in earlier sessions, or do I a have to click
allow everytime?

Wouter

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
8 years 5 months ago - 8 years 5 months ago #283530 by krileon
Replied by krileon on topic CB Connect: Not remembers authentication
Yes, that maybe possible. They've updated their documentation with an additional endpoint to allow skipping reauthorization. You can try the below quickfix, but I have not tested the implementation with this endpoint.

IN: /components/com_comprofiler/plugin/libraries/CB/Plugin/Connect/Provider/FoursquareProvider.php
ON: Line 29
FROM:
Code:
'authorize' => 'https://foursquare.com/oauth2/authorize',
TO:
Code:
'authorize' => 'https://foursquare.com/oauth2/authenticate',

forge.joomlapolis.com/issues/6091


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 8 years 5 months ago by krileon.
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum