FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. fred.fred
    3. Best
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 21
    • Best 3
    • Controversial 0
    • Groups 0

    Best posts made by fred.fred

    • RE: SMTP Config with SendGrid..Again

      @boniface we're using FA with SendGrid in our DEV environment.

      We are using the SMTP server mode.

      6addef5d-4ed7-4226-9b7c-caec9f77c57a-image.png

      You will need to:

      • Add you host and username from instructions in sendgrid. It is smtp.sendgrid.net and apikey for everyone

      • Add the password from your instance under that Change Password flipper button in FA

      • Make sure your default from address is registered in SendGrid as an actual domain and address that you can send from - I believe this is necessary for all SendGrid email, otherwise you could use them for SPAM

      That's all we did and it worked for us.

      Note since this is DEV, we are not using TLS or SSL security. But we will in QA and Production

      posted in Comments & Feedback
      F
      fred.fred
    • post_logout_redirect_uri not working

      We are setting this post_logout_redirect_uri on our log off:

      https://auth.apps-d.XXX.com/oauth2/logout?post_logout_redirect_uri=http%3A%2F%2Flocalhost%3A12620%2F&x-client-SKU=ID_NET461&x-client-ver=5.3.0.0

      Which is http://localhost:12620/

      However, FusionAuth is just redirecting to its own root url: https://auth.apps-d.XXX.com/ instead of the post_logout_redirect_uri

      Referring to this post: https://fusionauth.io/community/forum/topic/35/is-there-a-way-to-have-a-user-who-logs-out-of-an-application-go-back-to-wherever-they-started-from-at-login

      It says the logout redirect url must be an authorized redirect url, which it is:

      24ad00f1-f0f5-4d37-bcbc-5d433be01c76-image.png

      However, FusionAuth is not redirecting as you can see from this debug session and is just going to root url instead of post_logout_redirect_uri

      f1ec3775-7caf-44e2-ba7c-6a0a521872f8-image.png

      How do we get FusionAuth to redirect to the passed post_logout_redirect_uri ??

      Thanks.

      posted in Q&A
      F
      fred.fred
    • RE: post_logout_redirect_uri not working

      Ok this is how I fixed the post_logout_redirect_uri issue.

      In my logoff method, I did this to remove the local cookies

      c99db979-5e36-4e07-8cbd-8ce25bd73775-image.png

      Then because I could not use the Owin..OIDC..PostLogoutRedirectUri in the OpenIdConnectAuthenticationOptions to pass the client_id

      At the end of the logoff method, I just did this:

      39f0427a-f30a-4e54-b719-1c6689476674-image.png

      This removed the FusionAuth session, does the log out, and redirects to my home page

      Thanks to all who tried to help out

      posted in Q&A
      F
      fred.fred