-
-
Notifications
You must be signed in to change notification settings - Fork 763
Include Login Hint in Authentication Properties #3452
base: master
Are you sure you want to change the base?
Conversation
… be used to pass to an external IdP
… be used to pass to an external IdP
Hi @craigbroadman, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution! TTYL, DNFBOT; |
I don't think you need this change. Can't you access the signin message in your event callback on the OIDC middleware? |
If that is possible then yes, that would solve this issue. Could you provide me an example of accessing the signin message in the event callback on the OIDC middleware? |
I don't have code off hand, but you can call the OWIN extensions we provide in the callback. https://identityserver.github.io/Documentation/docsv2/advanced/owin.html |
Something like this:
|
Can we close this? |
Yes, this can be closed, thank you very much for your help. |
Hi @craigbroadman, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution! TTYL, DNFBOT; |
Although the above code does give me access to the login hint as required, including the "login_hint" in the dictionary (as per the pull request) means that the Google implementation works out of the box without creating a custom provider... What are your thoughts? |
By including the login hint in Authentication Properties, I am able to access the value to pass to an external IdP.
Example here....
http://stackoverflow.com/questions/24957152/owin-pass-custom-query-parameters-in-authentication-request