Skip to content
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

Merged
merged 24 commits into from
May 13, 2024

Conversation

RichDom2185
Copy link
Member

Sets up SAML and exposes some endpoints for SAML auth flow, following samly's documentation.

@RichDom2185 RichDom2185 self-assigned this Sep 3, 2023
@coveralls
Copy link

coveralls commented Sep 25, 2023

Coverage Status

coverage: 95.295% (-0.03%) from 95.323%
when pulling 6099059 on RichDom2185:add-saml-metadata
into 423a597 on source-academy:master.

conn
|> put_resp_cookie("jwts", encoded_tokens,
domain: "cadet.ap",
http_only: false
Copy link
Contributor

@chownces chownces May 12, 2024

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.

@chownces chownces marked this pull request as ready for review May 12, 2024 10:20
@RichDom2185 RichDom2185 changed the title Add SAML SP metadata endpoints Add SAML SP metadata endpoints and flow May 12, 2024
@RichDom2185
Copy link
Member Author

Corresponding frontend PR: source-academy/frontend#2994

Copy link
Member Author

@RichDom2185 RichDom2185 left a 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

@RichDom2185 RichDom2185 merged commit 060355c into source-academy:master May 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants