Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: (Auth URL when using social connection isn't returning ext claim information in the token) #78

Open
4 tasks done
DanielAeon opened this issue Nov 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DanielAeon
Copy link

Prerequisites

Describe the issue

So I recently starting using the Entra ID login as our clients have request this. I noticed I wasn't getting the ext_group (group) information in the access token. I'm using my own login option which I have done already with google, microsoft etc and have no issues having said that I haven't tried sending back ext information on the token with those options.

So I get the correct information back in the access token {ext_group: [guids]} when I use the kinde powered login page. On my custom login page I'm using the react {login} hook.

The react library using this library to setup the provider but the provider automatically sets the login url to https://{domain}/oauth2/auth using this url the access token doesn't return the extra information.

The kind login page uses https://{domain}/authentication/authentication_social as the login url which does return the correct information in the token.

I'm wondering if we would be able to change or add a way to use this url with the react login hook?
Or fix the /oauth2/auth kinde backend to return the correct token as it does on the /authentication/authentication_social url.

Library URL

https://github.com/kinde-oss/kinde-auth-react

Library version

4.0.2

Operating system(s)

macOS

Operating system version(s)

Sonoma 15.1.1

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

@DanielAeon DanielAeon added the bug Something isn't working label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant