HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Single SignOn Username(handle)

Upon connecting a SSO-account with a forum profile "Name is required" is shown but there is no field for name.

Connect can be done but now the SSO-account Username is shown instead of the forum Profile name.

SSO setup only offers a username not a name(handle).

I tried setting EditUserNames true in /conf/config.php - hoping/assuming that would give a name fields on the SSO connect page - but it does not.

(EditUserNames lets profiles edit their names - but I'd rather not have it go that way)

I am looking for setup change to do on forum not the SSO setup - if that exists.

Any hints/suggestions ?


Thanks in advance

Tagged:

Comments

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    If you use e.g. OAuth2, new users are asked for filling in a username. What kind of SSO are you using?

  • Options
    KasparKaspar Moderator
    edited November 2019

    I am not in control of the SSO (various services are being pulled together). The SSO was moved. I was told it would be OAuth2 but it is JSConnect that is configured in the forum (as it used to be. Apart from config details have been changed due to the move).

    There is no username field when connecting.

  • Options
    KasparKaspar Moderator
  • Options
    KasparKaspar Moderator

    Sadly it only worked for the first login.

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    If I had to look at that problem today, I would not try to solve it on the UserModel level. Instead I would look at EntryController->connect() which fires afterConnectData and afterConnectSave

    I have a lack of imagination concerning your problems which makes it impossible for me to come up with a good suggestion, but I guess that you can hook into one of those events and prevent user name changes.


    From looking at /applications/dashboard/views/entry/connect.php I wouldn't be able to tell why the input box for the user name shouldn't be shown. Therefore I assume you see another view. Can you tell me which one?

  • Options
    KasparKaspar Moderator

    hmm

    I am send to /entry/jsconnect

    (not sure I understood you correct)

  • Options
    KasparKaspar Moderator

    /entry/connect/jsconnect?client_id=xxxxxxxxxxxx is where I am send.


    I have tested on a clean install and it is the same, there is no field for inputting a user handle name.

    To my undrstanding the SSO is sending/forcing the accont name from the SSO to the forum ??

  • Options
    KasparKaspar Moderator

    Sry about the respond time btw.

Sign In or Register to comment.