Help Token-Exchange flow
๐ฌSelf-hostedโQuestion๐OIDCโ
Solved
Hi guys,
I want to create a Flutter mobile app that uses Zitadel as Identity Provider. But I want to use native login (not open custom tabs/ webview for auth).
Current I'm using google_sign_in an flutter_facebook_auth to make auth process natively, but when I use ID Token from 2 auth methods above to exchange for Zitadel token, like this:
I got:
Has anyone implemented this idea? Or is there any other ways that can make the login process natively?
I want to create a Flutter mobile app that uses Zitadel as Identity Provider. But I want to use native login (not open custom tabs/ webview for auth).
Current I'm using google_sign_in an flutter_facebook_auth to make auth process natively, but when I use ID Token from 2 auth methods above to exchange for Zitadel token, like this:
I got:
level=WARN msg="request error" oidc_error.parent="ID=OIDC-Rei0f Message=Errors.TokenExchange.Token.Invalid Parent=(issuer does not match: Expected: http://localhost:8000, got: https://accounts.google.com)" oidc_error.description="subject_token invalid" oidc_error.type=invalid_request status_code=400Has anyone implemented this idea? Or is there any other ways that can make the login process natively?
