FormidableLabs / FormidableLabs/react-native-app-auth

Expose discovered config

Open
#606 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
2.3k
Forks
473
PR merge metrics
No merged PRs in 30d

Description

I would like to access the `userinfo_endpoint` provided by the discovery endpoint and already required during the `authorize` , and later on use it to get this user info.
As of today I need to make the same call to the discover to grab the `userinfo_endpoint` and use it to fetch the profile information of the user.
I would avoid a rountrip for the already required config if it is possible to just access it.

See: https://github.com/FormidableLabs/react-native-app-auth/blob/bacd0377b46c0f0196a8b5cf86553484feacb023/ios/RNAppAuth.m#L112

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.