Open programmerizak opened 1 year ago
Hello!
Thanks sir am grateful
Hello!
- I will look into this possibility and ways of realization and get back to you a little later.
- Need more details to explore problem.
Thanks sir am grateful
SSO = {
# This timeout is defined in seconds with a default value of 0.1s
# (100ms) per registered service.
'SUBORDINATE_COMMUNICATION_TIMEOUT': 0.1,
# Additional fields. (OPTIONAL). For more details look to part
# named as "Send additional data to subordinated services"
'ADDITIONAL_FIELDS': ('first_name', 'last_name', 'phone_number'),
} `
In one of my service website settings.py i have this
` INSTALLED_APPS += 'django_sso.sso_service',
SSO = {
'ROOT': 'domain.com',
# Specify application token obtained in the SSO server admin panel (REQUIRED)
'TOKEN': 'token_from_gateway',
}
`
My Question is that from my service app, how can i get the user first_name, last_name and phone_number, its only the user email am getting. When i do request.user.email in the template or view in my service app, it return nothing, but request.user.username return the user email. But am looking for how to get the First Name, Last Name and Phone Number
Just want to add, can one use this for a production ready website now, or should we wait for update ?
This is not really an issue but i just need support on it