Skip to content

Comments

added single sign on functionality to autoaudit#95

Merged
romil-bijarnia merged 3 commits intomainfrom
integrating-single-sign-on/google-and-microsoft
Jan 8, 2026
Merged

added single sign on functionality to autoaudit#95
romil-bijarnia merged 3 commits intomainfrom
integrating-single-sign-on/google-and-microsoft

Conversation

@romil-bijarnia
Copy link
Collaborator

Single sign on has now been integrated to both the sign in and the sign up pages. We are only supporting google at the moment and in a scenario where a new user created their account using the SSO functionality, their email address(unique) is stored as their username in autoaudit.

…sign up pages both allow the users to sign in using google.
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1bc3648dc7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Collaborator

@du-dhartley du-dhartley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple of things to clarify and a couple of comments to resolve around the storage of credentials.

Having a password for a locally running container that is not used by anything else is low risk. However credentials for a globally accessible service, whether it's for development or otherwise, shouldn't be committed to the codebase and these should be rotated after they have been removed from git (client secret and the gmail password)


# Google OAuth (SSO) - set these after creating credentials in Google Cloud Console
- GOOGLE_OAUTH_CLIENT_ID=237734019606-8lft9r71d02ljcegsq4d6huglh8ke151.apps.googleusercontent.com
- GOOGLE_OAUTH_CLIENT_SECRET=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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The client ID is OK here, but the client secret shouldn't be in the docker compose yaml (this repository is public)

```bash
docker compose --profile all up -d
```
- Google SSO test user email: `autoauditdev@gmail.com`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both the email and password shouldn't be in this markdown file, we need to come up with a more secure way to communicate how to log in to this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I agree, maybe we could have a separate private repository for storing necessary credentials or a dedicated sharepoint service where we do the same. Let me know what sounds better and we can take action

title: "Ensure Compliance",
description:
"Stay aligned with CIS, NIST, ISO 27001, SOC 2, and other regulatory frameworks.",
"Stay aligned with cybersecurity frameworks as they get updated wit ease",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo here, should be updated with ease

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed it 👍

… the codebase for all contributors to copy from when testing sso locally
… into integrating-single-sign-on/google-and-microsoft
@romil-bijarnia
Copy link
Collaborator Author

merge

@romil-bijarnia romil-bijarnia reopened this Jan 8, 2026
@romil-bijarnia romil-bijarnia merged commit f275a27 into main Jan 8, 2026
31 of 33 checks passed
@romil-bijarnia romil-bijarnia deleted the integrating-single-sign-on/google-and-microsoft branch January 24, 2026 09:05
@romil-bijarnia romil-bijarnia self-assigned this Jan 26, 2026
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.

2 participants