Skip to content

Conversation

@pikachugb
Copy link
Collaborator

@pikachugb pikachugb commented Jan 19, 2026

https://center.almoctane.com/ui/entity-navigation?p=1001/1002&entityType=work_item&id=3011011

  • in UI:

    • implemented a new UI for OIDC
    • if OIDC is enabled, the user has to configure the OIDC discovery url and the OIDC client id and secret found in octane.sso
  • in the server side:

    • Added method to configure OIDC settings on the server side
    • Fetches the OIDC discovery document to get the token endpoint.
    • Calls the token endpoint with client credentials to get an IDP access token.
    • Exchanges the IDP access token at the Octane /oauth/token endpoint to get an Octane access token.
    • Stores the Octane access token as a cookie for future requests.
    • Integrated automatic OIDC token refresh when authentication fails
image

@pikachugb pikachugb force-pushed the dmoldoveanu_story_3011011_fed_login branch from 1ea2232 to 580b3ba Compare January 19, 2026 13:50

private String getTokenEndpointFromDiscovery() throws IOException {
String discoveryJson = httpGetAbsolute(discoveryUrl);
ObjectMapper mapper = new ObjectMapper();
Copy link
Collaborator

Choose a reason for hiding this comment

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

W: would create a single private static final ObjectMapper and reuse it, as it is recreated multiple times

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