Save user address and return address (postal_code, street, number...) in OAuth token
-
Hi everybody!
I need return user address in OAuth token, and I find in documentation that is possible return address info.
Follow the documentation
https://fusionauth.io/learn/expert-advice/oauth/modern-guide-to-oauth#the-userinfo-endpointOn OAuth2 flow we call /userinfo end-point, so we couldn't return address.
The authorize route on FusionAuth we set
scope
parameter to receiveaddress openid
, but not work.And I couldn't find where I can save the user address so that it is redeemed there in /userinfo.
Can you help me?
Thanks
-
-
Hi @vinicius-alfonso !
As documented here: https://fusionauth.io/docs/v1/tech/oauth/endpoints#userinfo we don't provide the address info, even if you pass the
address
scope.Per the OpenID spec, section 5.4, it appears that supporting the
address
scope is optional: https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaimsIf this is important to you, please file an issue here: https://github.com/fusionauth/fusionauth-issues/issues with details about the use case.
We are guided by our customers and community when it comes to implementation of issues. Here's our general roadmap guidance: https://fusionauth.io/docs/v1/tech/core-concepts/roadmap