question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Cloud-Masthead]: add services endpoint to determine auth status for Cloud Console - DPO Consulting

See original GitHub issue

Engineering info:


The problem

  • It was brought to our attention that the Cloud console team has completed a feature to detect and personalize based on if a person was authenticated/logged-on on via the cloud.ibm.com console.
  • This detection method was based on a request to personalize /cloud pages with users’ live login state, which can now be accomplished.
  • @kjwhitla Can you let me know if this is correct from a business requirement perspective?

The solution

Steps to verify the personalization functionality:

  • Goto an IBM.com marketing page, like https://ibm.com/cloud
  • Open the developer console
  • type _dl.ddo.user.segment.isCloudLoggedOn (previously made a typo and omitted the _ in this command)
  • The console output should read true or false
  • Either log in or log out of cloud.ibm.com (change your state)
  • Reload the https://ibm.com/cloud page
  • Repeat step 3 and see the status updated

We’ll need to adjust our CloudAccountAuth script within the Services package of the Carbon for ibm.com.

Application/website

AEM, Drupal

Business priority

Medium Priority = upcoming release but is not pressing

What time frame would this ideally be needed by (if applicable)

The timeframe of this work has not been determined yet.

Examples

No response

Code of Conduct

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
annawen1commented, May 31, 2022

@proeung hmm yeah that’s an option, we can have a CDN reference based off of PR number. @kennylam what do you think?

0reactions
proeungcommented, May 31, 2022

@annawen1 If we can set up a CDN reference based on the PR number that would be great! I can open a PR for the solution that we had before (see - https://github.com/carbon-design-system/carbon-for-ibm-dotcom/pull/8149) and make the changes and quickly test them on Drupal and an EI app.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set up Cloud Endpoints OpenAPI for Cloud Run with ESPv2
With this set up, ESPv2 intercepts all requests to your services and performs any necessary checks (such as authentication) before invoking the service....
Read more >
Service connections in Azure Pipelines - Microsoft Learn
Use OAuth with Grant authorization or a username and password with Basic Authentication to define a connection to Bitbucket Cloud. For pipelines ...
Read more >
Introducing Private Service Endpoints in IBM Cloud Databases
At this point, a prompt to will show that you opened a support ticket with IBM Cloud to enable the Service Endpoint. You...
Read more >
Google Cloud Service Health
BigQuery Data Transfer Service. Binary Authorization. Certificate Authority Service. Chronicle Security. Cloud Armor. Cloud Asset Inventory. Cloud Billing.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found