Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Colton Crouch 3 posts 73 karma points
    Feb 15, 2022 @ 22:15
    Colton Crouch
    0

    Errors with Backoffice External Login implementation with OpenIdConnect

    Hello,

    We are currently trying to implement external logins with OpenIdConnect, following the guide in the Documentation.

    The redirect_uri field in our request is being built as http instead of https, which causes Azure AD to throw an error (our tenant specifically requires https urls).

    Our server is located behind an AWS application load balancer which is terminating HTTPS ahead of the server.

    We have been following This Guide as the basis for the OpenIdConnect implementation.

    We have additionally tried the techniques in this Microsoft documentation article, but it doesn't seem to have any effect on the error.

    Manually editing the redirect_uri field like this stack overflow post causes a 404 when redirecting to the redirect_uri.

    Any input is appreciated!

    - Colton Crouch

  • Colton Crouch 3 posts 73 karma points
    Feb 16, 2022 @ 23:17
    Colton Crouch
    1

    We have solved the issue. Following this guide to add the app.Use() section allowed the URI to be served as HTTPS. Hope this helps someone else!

Please Sign in or register to post replies

Write your reply to:

Draft