Skip to content

Conversation

@nelly-hateva
Copy link
Collaborator

No description provided.

@nelly-hateva nelly-hateva marked this pull request as draft November 17, 2025 15:17
@nelly-hateva nelly-hateva force-pushed the Statnett-255 branch 11 times, most recently from 7ac18af to 61d30cd Compare November 18, 2025 11:27
@nelly-hateva nelly-hateva force-pushed the Statnett-255 branch 4 times, most recently from ef6d19b to 32c576d Compare November 18, 2025 15:29
@nelly-hateva nelly-hateva marked this pull request as ready for review November 18, 2025 15:35
@nelly-hateva nelly-hateva changed the title Statnett-255: OBO authentication against Cognite Statnett-255: OBO authentication against Cognite for the chat bot backend app Nov 18, 2025
Copy link
Collaborator

@tonyKunchev tonyKunchev left a comment

Choose a reason for hiding this comment

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

It looks good, at least from what I can understand 😅

@nelly-hateva
Copy link
Collaborator Author

It looks good, at least from what I can understand 😅

When I get access to Cognite and test the access from Jupyter Notebook on RNDP and from my dev machine, I will proceed with merging and releasing a new RC, then we can deploy to RNDP and test. I doubt it will work, but I'm not sure what else to do :(

@nelly-hateva
Copy link
Collaborator Author

nelly-hateva commented Nov 27, 2025

@mihailradkov @tonyKunchev @boyan-tonchev I've tested this locally with the RNDP configurations from Misho https://github.com/statnett/Talk2PowerSystem_PM/pull/275/files#diff-5a2250121396dd1c2098dafce92a1744bcad0b71025b8eee28e2dcdd808fdfdbR76, and what I now understand is that currently, the frontend is sending to the backend the id_token. But OBO doesn't work with id_token, it expects access_token. The access_token is also available to the frontend. I'm not sure what's the correct approach here - the frontend to send both to the backend or to send only the access_token.

@nelly-hateva nelly-hateva force-pushed the Statnett-255 branch 2 times, most recently from 034bb1a to 18a3af7 Compare November 28, 2025 14:05
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