Discourse Customizations

sso

#1
  1. To get the Avatar from my application using SSO, I implemented
    ’avatar_url’ = ‘path to user image of my application’
    ‘avatar_force_update’ = 1
    Then I selected the checkbox “sso overrides avatar” in login settings from admin
    Even then its not updating the user avatar.

  2. I want to place a check for the logged in user in Admin’s Customization section under Header block. I want to do this using admin panel of discourse only and dont want to change the code files

Anyone who can help me in any of the 2 tasks?


(Steven Greco) #2

for the first one try:

'avatar_force_update' = 'true',

That is how it works for me.


#3

Thanks a lot :), It worked for me as well.