[solved]: auth_openidc.conf: OIDCPassClaimsAs documentation is wrong or at least misleading: "both" "latin1" is not the default. #1297
              
  
  Closed
              
          
                  
                    
                      bernhard-1
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment 2 replies
-
| 
         which version of mod_auth_openidc are you using?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We recently had the problem that users' first or last names with Umlaut (äöü) were not displayed correctly. I was able to fix this by adding the following line to our auth_openidc.conf:
OIDCPassClaimsAs both latin1However, the comment for OIDCPassClaimsAs in auth_openidc.conf states:
# When not defined the default is "both" and "latin1" encoding is applied to the header/environment values.In my understanding, this means, that my configuration change shouldn't have changed anything, as this was already the default. So the comment is either poorly worded or wrong.
Without OIDCPassClaimsAs explicitly set, we received UTF-8 encoded header at the back-end application.
Edit: I found my mistake with the help of zandbelt asking the right question. Debian Bookworm uses Version 2.4.12.3 which does not apply any encoding by default.
Beta Was this translation helpful? Give feedback.
All reactions