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

FDR-297: Adding okta for enterprise #2172

Merged
merged 7 commits into from
Sep 14, 2022
Merged

Conversation

jamescgarrett
Copy link
Contributor

@jamescgarrett jamescgarrett commented Sep 9, 2022

Changes

  • Adding okta to the enterprise strategy list.
  • Adding CSS for okta
  • Handling quick auth for okta

HDR (default enterprise flow):
Screen Shot 2022-09-13 at 11 02 25 AM

Quick Auth:
Screen Shot 2022-09-13 at 11 44 38 AM

References

https://auth0team.atlassian.net/browse/FDR-297

Testing

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of the platform/language

Checklist

@jamescgarrett jamescgarrett marked this pull request as ready for review September 9, 2022 16:02
@jamescgarrett jamescgarrett requested a review from a team as a code owner September 9, 2022 16:02
@@ -9,7 +9,7 @@ import { authButtonsTheme } from '../../connection/social/index';

// TODO: handle this from CSS
function icon(strategy) {
if (strategy === 'google-apps') return strategy;
if (strategy === 'google-apps' || strategy === 'okta') return strategy;

Choose a reason for hiding this comment

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

I am assuming this is for enterprise? The other enterprise connections only return the 'auth0' icon (including PingFederate).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea, this is for enterprise. I was slightly confused by this section, so hoping @auth0/dx-sdks-engineer can clarify if this is necessary

Choose a reason for hiding this comment

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

Just for my understanding - This means the avatar/icon only displays for Okta and Google right? And the other if is for microsoft and everything else displays default auth0 button?

Copy link
Contributor

Choose a reason for hiding this comment

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

That's correct. I'm unaware as to the history as to why it's like that though.

adrian-prananda
adrian-prananda previously approved these changes Sep 9, 2022
stevehobbsdev
stevehobbsdev previously approved these changes Sep 13, 2022
@jamescgarrett
Copy link
Contributor Author

@stevehobbsdev - Is something wrong with the BrowserStack test?

@stevehobbsdev
Copy link
Contributor

@jamescgarrett The BrowserStack tests won't run successfully as this PR has been created from a fork. Our CI configuration prevents secrets from being available when building forks and so the BS tests won't be able to authenticate with BS.

I've verified them on my own machine against BS and we're all good.

@stevehobbsdev stevehobbsdev self-requested a review September 14, 2022 08:48
@stevehobbsdev stevehobbsdev merged commit 4693560 into auth0:master Sep 14, 2022
@jamescgarrett jamescgarrett deleted the fdr-297 branch September 14, 2022 13:13
@stevehobbsdev stevehobbsdev mentioned this pull request Sep 14, 2022
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.

4 participants