Codoforum related discussions
I have a problem sso...if (USER_IS_LOGGED_IN) ?

Hello!
I'm Hungarian.
I can not speak English.
I have a problem sso.
My website is MTDb - Ultimate Movie & TV Database Script.
"://xyz.com"
My codoforum
"://xyz.com/forum"
mysql database is the same!
My client.php and sso.php files here
"://xyz.com/client.php"
"://xyz.com/sso.php"
I want the user to log in
here "://xyz.com"
you will be logged in automatically
here is "://xyz.com/forum"
I don't know what to write here if (USER_IS_LOGGED_IN)!
Please help someone !!!
Thanks!!!
61092d8a07b0b
61092d94af70b


Hello! I'm Hungarian. I can not speak English. I have a problem sso. My website is MTDb - Ultimate Movie & TV Database Script. "://xyz.com" My codoforum "://xyz.com/forum" mysql database is the same! My client.php and sso.php files here "://xyz.com/client.php" "://xyz.com/sso.php" I want the user to log in here "://xyz.com" you will be logged in automatically here is "://xyz.com/forum" I don't know what to write here if (USER_IS_LOGGED_IN)! Please help someone !!! Thanks!!! ![61092d8a07b0b](serve/attachment&path=61092d8a07b0b) ![61092d94af70b](serve/attachment&path=61092d94af70b)
edited Aug 3 '21 at 3:03 pm

Hallo smile


I think thats a topic the @admin needs to help us a little because I`m not good with PHP problems.

Give us 1 day more to solv your issue please - thx for your patience and good luck with your forum.


Kind regards,


Andy smile


Hallo :) I think thats a topic the @admin needs to help us a little because I`m not good with PHP problems. Give us 1 day more to solv your issue please - thx for your patience and good luck with your forum. Kind regards, Andy :)

https://net-twin.de/ Community for creative people - JOIN it Now please
https://github.com/WebCrew My GitHub account
https://sell-co.de/ Lots of Web-Tools and Utilities for free

My site is a laravel framework.
That's what I forgot to say.
I don't know
someone who can help?smile


My site is a laravel framework. That's what I forgot to say. I don't know someone who can help?(:|

@admin and @adesh would you be so kind and check it out please.

Kind regards, Andy smile


@admin and @adesh would you be so kind and check it out please. Kind regards, Andy :)

https://net-twin.de/ Community for creative people - JOIN it Now please
https://github.com/WebCrew My GitHub account
https://sell-co.de/ Lots of Web-Tools and Utilities for free

Hi,


I think Laravel 5 has Auth class to find if current user is logged in. So you need to do something similar like below:


if (!Auth::guest()) {

// Use laravel to populate the $account variables
}

USER_IS_LOGGED_IN is just a placeholder for you to put in your code to check if current user is logged in.


Hi, I think Laravel 5 has Auth class to find if current user is logged in. So you need to do something similar like below: ``` if (!Auth::guest()) { // Use laravel to populate the $account variables } ``` `USER_IS_LOGGED_IN` is just a placeholder for you to put in your code to check if current user is logged in.
Necessity is the mother of all inventions!

@admin Thank you very much!
sorry
I'm not at home in the codes!
Million versions
I tried,
but he doesn't want to work.
I'm sure,
that I am not doing something well!smile 610f4d2f45638
610f4daaaa3fe

@admin Thank you very much! sorry I'm not at home in the codes! Million versions I tried, but he doesn't want to work. I'm sure, that I am not doing something well!(doh) ![610f4d2f45638](serve/attachment&path=610f4d2f45638) ![610f4daaaa3fe](serve/attachment&path=610f4daaaa3fe)
edited Aug 8 '21 at 4:22 am

I'm starting to doubt it!
the client.php file
editable
to the laravel site at all?
I can't do that.
I've been suffering from it for 2 weeks.
ha (! Auth :: guest ()) ... ha (! Auth :: check ()) ... etc
. not good in any form, keep 500 errors
I tried a million versions
and really
codoforum,
but it may not work for me sso,
but if anyone has an idea
I'd be happy


I'm starting to doubt it! the client.php file editable to the laravel site at all? I can't do that. I've been suffering from it for 2 weeks. ha (! Auth :: guest ()) ... ha (! Auth :: check ()) ... etc . not good in any form, keep 500 errors I tried a million versions and really codoforum, but it may not work for me sso, but if anyone has an idea I'd be happy
edited Aug 12 '21 at 9:47 am

Hi


Can you please post in English?


Hi Can you please post in English?
Necessity is the mother of all inventions!

@admin I accidentally wrote in Hungarian! I corrected to English. Sorry!!!

@admin I accidentally wrote in Hungarian! I corrected to English. Sorry!!!
edited Aug 12 '21 at 9:51 am

Because You are using a Laravel system this will maybe help you:


https://www.miniorange.com/laravel-single-sign-on-(sso)
or
https://auth0.com/learn/how-to-implement-single-sign-on/


But maybe also our @admin has a idea.

So or so thanks a lot for your patience and sorry that it takes some time to solv your problem.


Kind regards, Andy smile


Because You are using a **Laravel** system this will maybe help you: https://www.miniorange.com/laravel-single-sign-on-(sso) or https://auth0.com/learn/how-to-implement-single-sign-on/ But maybe also our @admin has a idea. So or so** thanks a lot for your patience** and **sorry** that it takes some time to solv your problem. Kind regards, Andy ;)

https://net-twin.de/ Community for creative people - JOIN it Now please
https://github.com/WebCrew My GitHub account
https://sell-co.de/ Lots of Web-Tools and Utilities for free

edited Aug 21 '21 at 5:30 pm

Thank you very much!
I would be happy for him if there was a solution!
it would be better if the sso is not implemented by a service provider.
manage.auth0.com or miniorange.
it would be better to somehow implement the codoforum sso within the site.
Thank!


Thank you very much! I would be happy for him if there was a solution! it would be better if the sso is not implemented by a service provider. manage.auth0.com or miniorange. it would be better to somehow implement the codoforum sso within the site. Thank!

Hello!
I haven't been able to solve the sso integration yet.
Now there is the following error.
google devtools.


Cross-Origin Read Blocking (CORB) blocked cross-origin response example.com/client.php?callback=jQuery110209217522991323774_1629161611436&format=json&client_id=hcforum&timestamp=1629161611&token=7536c011a755209edbb7676f9097b59c with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
send @ a6391247bd98d48090418a1f19ab648b.js:6
ajax @ a6391247bd98d48090418a1f19ab648b.js:6
(anonymous) @ sso.js:26
c @ a6391247bd98d48090418a1f19ab648b.js:4
add @ a6391247bd98d48090418a1f19ab648b.js:4
ready @ a6391247bd98d48090418a1f19ab648b.js:4
(anonymous) @ sso.js:20
611b0d70abee6
611b0d7d6698b


Hello! I haven't been able to solve the sso integration yet. Now there is the following error. google devtools. Cross-Origin Read Blocking (CORB) blocked cross-origin response example.com/client.php?callback=jQuery110209217522991323774_1629161611436&format=json&client_id=hcforum&timestamp=1629161611&token=7536c011a755209edbb7676f9097b59c with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details. send @ a6391247bd98d48090418a1f19ab648b.js:6 ajax @ a6391247bd98d48090418a1f19ab648b.js:6 (anonymous) @ sso.js:26 c @ a6391247bd98d48090418a1f19ab648b.js:4 add @ a6391247bd98d48090418a1f19ab648b.js:4 ready @ a6391247bd98d48090418a1f19ab648b.js:4 (anonymous) @ sso.js:20 ![611b0d70abee6](serve/attachment&path=611b0d70abee6) ![611b0d7d6698b](serve/attachment&path=611b0d7d6698b)
edited Aug 17 '21 at 2:14 am

Sorry - usually our @admin helps within 1-2 days, but right now it's summer vacation and everything is a little different.

Kind regards and much success.


Andy smile


Sorry - usually our @admin helps within 1-2 days, but right now it's summer vacation and everything is a little different. Kind regards and much success. Andy :)

https://net-twin.de/ Community for creative people - JOIN it Now please
https://github.com/WebCrew My GitHub account
https://sell-co.de/ Lots of Web-Tools and Utilities for free

edited Aug 21 '21 at 5:30 pm

Hi


Sorry for the late reply.


Can you post a screenshot of how the settings of sso plugin in codoforum backend looks like?


Hi Sorry for the late reply. Can you post a screenshot of how the settings of sso plugin in codoforum backend looks like?
Necessity is the mother of all inventions!

Hi,


As this problem has taken too long partly due to our mistake, we can offer to help do the integration for you.
You can email us your forum details and we can take it from there.


Hi, As this problem has taken too long partly due to our mistake, we can offer to help do the integration for you. You can email us your forum details and we can take it from there.
Necessity is the mother of all inventions!

i don't think i'm doing the data well here. Main domain is laravel, in this case I don't know what the correct code is.
if (USERIS ......) {


$ account ['uid'] = ......

}


I wrote you an e-mail!
I am very grateful for the help!


i don't think i'm doing the data well here. Main domain is laravel, in this case I don't know what the correct code is. if (USER_IS _......) { $ account ['uid'] = ...... } I wrote you an e-mail! I am very grateful for the help!

Hi,


Unfortunately, we do not see any email yet. Where did you send the email? Can you please resend the email to admin[@]codologic.com


Hi, Unfortunately, we do not see any email yet. Where did you send the email? Can you please resend the email to admin[@]codologic.com
Necessity is the mother of all inventions!

Sorry!
I did not send well!
I wrote a new email.
I hope you received it now!
I am grateful for the help !!!


Sorry! I did not send well! I wrote a new email. I hope you received it now! I am grateful for the help !!!
12
361
24
3
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft