-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add SAML SP metadata endpoints and flow #990
Add SAML SP metadata endpoints and flow #990
Conversation
Hacky fallback because SAML does not require a code to be sent in the authentication flow.
FIXME was causing `mix credo` to fail.
b84ea88
to
4f994a8
Compare
conn | ||
|> put_resp_cookie("jwts", encoded_tokens, | ||
domain: "cadet.ap", | ||
http_only: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add secure: false
for use with local http frontend domain during testing.
Corresponding frontend PR: source-academy/frontend#2994 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks a lot! Could I trouble you to approve it? Since I wrote the PR haha
Sets up SAML and exposes some endpoints for SAML auth flow, following
samly
's documentation.