-
Notifications
You must be signed in to change notification settings - Fork 870
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
Can't get TokenActivity to work with custom IdP #101
Comments
I found the issue: |
I'm having the same error trying to make it work with Dropbox. |
@allek5 Well I just "hacked" the code in AuthState there is the method "getClientSecret" and at line 632 there is the method getClientAuthentication() which takes the clientsecret (if any) and acts like that |
Thx, it helped. |
I think this bug is probably obsoleted by the current demo app changes, and it is now possible to directly specify a client authentication when making token requests. Issue #179 tracks closing the last hole, providing a client authentication object as part of |
Hello all,
I've downloaded and run locally mitreid server, and I'm trying to integrate it with this app, following the instructions, but I have issues with TokenActivity, to be more specific I get the snackbar saying:
"Token refresh Failed"
and debugging I found out that there is an "AuthorizationException" whose json is:
{"type":0,"code":3,"errorDescription":"Network error"}
The issue is on token request (I debugged it), because i can see the login and the redirect works correctly (I see the app going on the web server apps list), but token won't work.
I don't think it is an issue of a mitre configuration (but it could be?),
The grant type is set to: "authorization code" and "refresh", under response type, "code" "token" and "id_token" are enabled.
What else can I do? the token endpoint is correct, but is not working!
The text was updated successfully, but these errors were encountered: